From ff5d236eeb3803a27edd3002f486f1dfe8c0b764 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Thu, 21 Apr 2005 16:07:56 +0000 Subject: [PATCH] Only enable __stdcall function support when _MSC_EXTENSIONS is defined (rather than _MSC_VER). [SVN r28388] --- include/boost/type_traits/config.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/boost/type_traits/config.hpp b/include/boost/type_traits/config.hpp index f4518a5..2ea48a4 100644 --- a/include/boost/type_traits/config.hpp +++ b/include/boost/type_traits/config.hpp @@ -41,7 +41,7 @@ // 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_EXTENSIONS) && !defined(__BORLANDC__) # define BOOST_TT_TEST_MS_FUNC_SIGS #endif