Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r50578 - sandbox/thread_safe_signals/trunk/boost/signals2
From: fmhess_at_[hidden]
Date: 2009-01-14 11:52:13


Author: fmhess
Date: 2009-01-14 11:52:13 EST (Wed, 14 Jan 2009)
New Revision: 50578
URL: http://svn.boost.org/trac/boost/changeset/50578

Log:
Added check for BOOST_HAS_WINTHREADS when determining
what os-specific header to use.

Text files modified:
   sandbox/thread_safe_signals/trunk/boost/signals2/mutex.hpp | 2 +-
   1 files changed, 1 insertions(+), 1 deletions(-)

Modified: sandbox/thread_safe_signals/trunk/boost/signals2/mutex.hpp
==============================================================================
--- sandbox/thread_safe_signals/trunk/boost/signals2/mutex.hpp (original)
+++ sandbox/thread_safe_signals/trunk/boost/signals2/mutex.hpp 2009-01-14 11:52:13 EST (Wed, 14 Jan 2009)
@@ -28,7 +28,7 @@
 # include <boost/signals2/detail/lwm_nop.hpp>
 #elif defined(BOOST_HAS_PTHREADS)
 # include <boost/signals2/detail/lwm_pthreads.hpp>
-#elif defined(WIN32) || defined(_WIN32) || defined(__WIN32__)
+#elif defined(BOOST_HAS_WINTHREADS) || defined(WIN32) || defined(_WIN32) || defined(__WIN32__)
 # include <boost/signals2/detail/lwm_win32_cs.hpp>
 #else
 // Use #define BOOST_DISABLE_THREADS to avoid the error


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