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:
Darin Adler
2001-11-08 16:17:28 +00:00
parent 0a31cf05f6
commit 96026e7152
2 changed files with 4 additions and 2 deletions

View File

@ -26,8 +26,6 @@
# define BOOST_NO_INTRINSIC_WCHAR_T # define BOOST_NO_INTRINSIC_WCHAR_T
#endif #endif
#define BOOST_HAS_THREADS
#define BOOST_COMPILER "Metrowerks CodeWarrior C++ version " BOOST_STRINGIZE(__MWERKS__) #define BOOST_COMPILER "Metrowerks CodeWarrior C++ version " BOOST_STRINGIZE(__MWERKS__)

View File

@ -34,6 +34,10 @@
# include <boost/config/posix_features.hpp> # include <boost/config/posix_features.hpp>
#endif #endif
#if _MWMT
# define BOOST_HAS_THREADS
#endif
#define BOOST_STDLIB "Metrowerks Standard Library version " BOOST_STRINGIZE(__MSL_CPP__) #define BOOST_STDLIB "Metrowerks Standard Library version " BOOST_STRINGIZE(__MSL_CPP__)