forked from boostorg/config
Remove assumption that the compiler is always in multithreaded mode.
Instead, figure out when the library is in multithreaded mode, by looking at _MWMT. [SVN r11631]
This commit is contained in:
@ -26,8 +26,6 @@
|
||||
# define BOOST_NO_INTRINSIC_WCHAR_T
|
||||
#endif
|
||||
|
||||
#define BOOST_HAS_THREADS
|
||||
|
||||
|
||||
#define BOOST_COMPILER "Metrowerks CodeWarrior C++ version " BOOST_STRINGIZE(__MWERKS__)
|
||||
|
||||
|
@ -34,6 +34,10 @@
|
||||
# include <boost/config/posix_features.hpp>
|
||||
#endif
|
||||
|
||||
#if _MWMT
|
||||
# define BOOST_HAS_THREADS
|
||||
#endif
|
||||
|
||||
|
||||
#define BOOST_STDLIB "Metrowerks Standard Library version " BOOST_STRINGIZE(__MSL_CPP__)
|
||||
|
||||
|
Reference in New Issue
Block a user