forked from boostorg/config
Removed BOOST_NO_STD_ALLOCATOR autodefinition for MSVC, fixed BOOST_HAS_THREADS autodefinition
[SVN r11256]
This commit is contained in:
@ -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
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user