From 9ca0221b86c787c5494533f7532086998fb1cfc4 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Sun, 3 Apr 2005 10:05:04 +0000 Subject: [PATCH] Testing __stdcall etc functions with is_member_function_pointer doesn't work with Borland C++, so disable it. [SVN r27943] --- include/boost/type_traits/config.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/include/boost/type_traits/config.hpp b/include/boost/type_traits/config.hpp index d1c773a..f4518a5 100644 --- a/include/boost/type_traits/config.hpp +++ b/include/boost/type_traits/config.hpp @@ -38,9 +38,10 @@ // // define BOOST_TT_TEST_MS_FUNC_SIGS -// when we want to test __stdcall etc function types with is_function etc: +// when we want to test __stdcall etc function types with is_function etc +// (Note, does not work with Borland, even though it does support __stdcall etc): // -#if defined(_MSC_VER) || defined(__BORLANDC__) +#if defined(_MSC_VER) && !defined(__BORLANDC__) # define BOOST_TT_TEST_MS_FUNC_SIGS #endif