From e77b6884a7ceec925e173c61027ececdae9280fa Mon Sep 17 00:00:00 2001 From: John Maddock Date: Tue, 7 Oct 2003 11:59:42 +0000 Subject: [PATCH] Last fix can't be applied to Borland's compiler. [SVN r20276] --- include/boost/type_traits/is_enum.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/type_traits/is_enum.hpp b/include/boost/type_traits/is_enum.hpp index 32d1167..270a230 100644 --- a/include/boost/type_traits/is_enum.hpp +++ b/include/boost/type_traits/is_enum.hpp @@ -32,7 +32,7 @@ namespace detail { template struct is_class_or_union { -# if BOOST_WORKAROUND(BOOST_MSVC, == 1200) // we simply can't detect it this way. +# if BOOST_WORKAROUND(BOOST_MSVC, == 1200) || BOOST_WORKAROUND(__BORLANDC__, BOOST_TESTED_AT(0x570))// we simply can't detect it this way. BOOST_STATIC_CONSTANT(bool, value = false); # else template static ::boost::type_traits::yes_type is_class_or_union_tester(void(U::*)(void));