Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r83796 - trunk/boost/thread/detail
From: vicente.botet_at_[hidden]
Date: 2013-04-07 15:01:22


Author: viboes
Date: 2013-04-07 15:01:22 EDT (Sun, 07 Apr 2013)
New Revision: 83796
URL: http://svn.boost.org/trac/boost/changeset/83796

Log:
Thread: rollback BOOST_THREAD_PROVIDES_ONCE_CXX11 define. Force minwg to use BOOST_THREAD_USE_LIB.
Text files modified:
   trunk/boost/thread/detail/config.hpp | 7 ++++---
   1 files changed, 4 insertions(+), 3 deletions(-)

Modified: trunk/boost/thread/detail/config.hpp
==============================================================================
--- trunk/boost/thread/detail/config.hpp (original)
+++ trunk/boost/thread/detail/config.hpp 2013-04-07 15:01:22 EDT (Sun, 07 Apr 2013)
@@ -158,7 +158,7 @@
 // fixme BOOST_THREAD_PROVIDES_ONCE_CXX11 doesn't works when thread.cpp is compiled BOOST_THREAD_VERSION 3
 #if ! defined BOOST_THREAD_DONT_PROVIDE_ONCE_CXX11 \
  && ! defined BOOST_THREAD_PROVIDES_ONCE_CXX11
-#define BOOST_THREAD_PROVIDES_ONCE_CXX11
+#define BOOST_THREAD_DONT_PROVIDE_ONCE_CXX11
 #endif
 
 // THREAD_DESTRUCTOR_CALLS_TERMINATE_IF_JOINABLE
@@ -371,8 +371,9 @@
 #elif defined(BOOST_THREAD_USE_LIB) //Use lib
 #else //Use default
 # if defined(BOOST_THREAD_PLATFORM_WIN32)
-# if defined(BOOST_MSVC) || defined(BOOST_INTEL_WIN)
- //For compilers supporting auto-tss cleanup
+# if defined(BOOST_MSVC) || defined(BOOST_INTEL_WIN) \
+ || defined(__MINGW32__) || defined(MINGW32) || defined(BOOST_MINGW32)
+ //For compilers supporting auto-tss cleanup
             //with Boost.Threads lib, use Boost.Threads lib
 # define BOOST_THREAD_USE_LIB
 # else


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