From 8705dbd370a28246e67c0c99c0d34c9047a481cb Mon Sep 17 00:00:00 2001 From: Peter Dimov Date: Tue, 25 Sep 2001 19:09:33 +0000 Subject: [PATCH] Removed BOOST_NO_STD_ALLOCATOR autodefinition for MSVC, fixed BOOST_HAS_THREADS autodefinition [SVN r11256] --- include/boost/config/suffix.hpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/include/boost/config/suffix.hpp b/include/boost/config/suffix.hpp index b8596b74..d328480f 100644 --- a/include/boost/config/suffix.hpp +++ b/include/boost/config/suffix.hpp @@ -76,7 +76,9 @@ // Without member template support, we can't have a conforming // std::allocator template either: // -# if defined(BOOST_NO_MEMBER_TEMPLATES) && !defined(BOOST_NO_STD_ALLOCATOR) +# if defined(BOOST_NO_MEMBER_TEMPLATES) \ + && !defined(BOOST_MSVC6_MEMBER_TEMPLATES) \ + && !defined(BOOST_NO_STD_ALLOCATOR) # define BOOST_NO_STD_ALLOCATOR # endif @@ -135,7 +137,7 @@ // from here then add to the appropriate compiler section): // #if (defined(__MT__) || defined(_MT) || defined(_REENTRANT) \ - || defined(_PTHREADS)) && !defined(BOOST_DISABLE_THREADS) + || defined(_PTHREADS)) && !defined(BOOST_HAS_THREADS) # define BOOST_HAS_THREADS #endif