Boost logo

Boost :

From: Anthony Williams (anthony_w.geo_at_[hidden])
Date: 2007-11-28 12:51:29

Since the boost thread headers can now be used without including <windows.h>,
can I commit the following patch to boost/config/suffix.hpp in order to stop
BOOST_DISABLE_THREADS being defined just because the user specified /Za on the
command line?

There was a discussion about this back in May, but I don't remember there being
a definite outcome.


Index: boost/config/suffix.hpp
--- boost/config/suffix.hpp (revision 41433)
+++ boost/config/suffix.hpp (working copy)
@@ -190,16 +190,6 @@
 # endif
-// If Win32 support is turned off, then we must turn off
-// threading support also, unless there is some other
-// thread API enabled:
-#if defined(BOOST_DISABLE_WIN32) && defined(_WIN32) \
 // Turn on threading support if the compiler thinks that it's in
 // multithreaded mode. We put this here because there are only a
 // limited number of macros that identify this (if there's any missing

Boost list run by bdawes at, gregod at, cpdaniel at, john at