detect single-threaded builds for MinGW

[SVN r17094]
This commit is contained in:
Dave Abrahams
2003-01-30 18:13:55 +00:00
parent 8c654b6131
commit 39d0339f38

View File

@ -29,11 +29,13 @@
# endif # endif
// //
// Threading support: // Threading support: Turn this on unconditionally here (except for
// Turn this on unconditionally here, it will get turned off again later // MinGW, where we can know for sure). It will get turned off again
// if no threading API is detected. // later if no threading API is detected.
// //
#define BOOST_HAS_THREADS #if !defined(__MINGW32__) || defined(_MT)
# define BOOST_HAS_THREADS
#endif
// //
// gcc has "long long" // gcc has "long long"