Removed BOOST_NO_STD_ALLOCATOR autodefinition for MSVC, fixed BOOST_HAS_THREADS autodefinition

[SVN r11256]
This commit is contained in:
Peter Dimov
2001-09-25 19:09:33 +00:00
parent 279accb168
commit 8705dbd370

View File

@ -76,7 +76,9 @@
// Without member template support, we can't have a conforming // Without member template support, we can't have a conforming
// std::allocator template either: // 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 # define BOOST_NO_STD_ALLOCATOR
# endif # endif
@ -135,7 +137,7 @@
// from here then add to the appropriate compiler section): // from here then add to the appropriate compiler section):
// //
#if (defined(__MT__) || defined(_MT) || defined(_REENTRANT) \ #if (defined(__MT__) || defined(_MT) || defined(_REENTRANT) \
|| defined(_PTHREADS)) && !defined(BOOST_DISABLE_THREADS) || defined(_PTHREADS)) && !defined(BOOST_HAS_THREADS)
# define BOOST_HAS_THREADS # define BOOST_HAS_THREADS
#endif #endif