Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r62723 - trunk/boost/thread/detail
From: anthony_at_[hidden]
Date: 2010-06-10 04:43:11


Author: anthonyw
Date: 2010-06-10 04:43:10 EDT (Thu, 10 Jun 2010)
New Revision: 62723
URL: http://svn.boost.org/trac/boost/changeset/62723

Log:
Don't use windows threads if BOOST_DISABLE_WIN32 defined. Fix for
issue #3760

Text files modified:
   trunk/boost/thread/detail/platform.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: trunk/boost/thread/detail/platform.hpp
==============================================================================
--- trunk/boost/thread/detail/platform.hpp (original)
+++ trunk/boost/thread/detail/platform.hpp 2010-06-10 04:43:10 EDT (Thu, 10 Jun 2010)
@@ -29,7 +29,7 @@
 # define BOOST_THREAD_HPUX
 #elif defined(__CYGWIN__)
 # define BOOST_THREAD_CYGWIN
-#elif defined(_WIN32) || defined(__WIN32__) || defined(WIN32)
+#elif (defined(_WIN32) || defined(__WIN32__) || defined(WIN32)) && !defined(BOOST_DISABLE_WIN32)
 # define BOOST_THREAD_WIN32
 #elif defined(__BEOS__)
 # define BOOST_THREAD_BEOS


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk