|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r76594 - trunk/boost/config/stdlib
From: john_at_[hidden]
Date: 2012-01-20 12:36:27
Author: johnmaddock
Date: 2012-01-20 12:36:27 EST (Fri, 20 Jan 2012)
New Revision: 76594
URL: http://svn.boost.org/trac/boost/changeset/76594
Log:
Enable thread support unconditionally on Win32 - it's not clear that this is the right thing to do, but it does seem to be needed for gcc-4.7 on Mingw and Cygwin.
Fixes #6165.
Text files modified:
trunk/boost/config/stdlib/libstdcpp3.hpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Modified: trunk/boost/config/stdlib/libstdcpp3.hpp
==============================================================================
--- trunk/boost/config/stdlib/libstdcpp3.hpp (original)
+++ trunk/boost/config/stdlib/libstdcpp3.hpp 2012-01-20 12:36:27 EST (Fri, 20 Jan 2012)
@@ -34,7 +34,8 @@
#ifdef __GLIBCXX__ // gcc 3.4 and greater:
# if defined(_GLIBCXX_HAVE_GTHR_DEFAULT) \
|| defined(_GLIBCXX__PTHREADS) \
- || defined(_GLIBCXX_HAS_GTHREADS)
+ || defined(_GLIBCXX_HAS_GTHREADS) \
+ || defined(_WIN32)
//
// If the std lib has thread support turned on, then turn it on in Boost
// as well. We do this because some gcc-3.4 std lib headers define _REENTANT
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