|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r76757 - branches/release/boost/config/stdlib
From: john_at_[hidden]
Date: 2012-01-28 13:38:49
Author: johnmaddock
Date: 2012-01-28 13:38:49 EST (Sat, 28 Jan 2012)
New Revision: 76757
URL: http://svn.boost.org/trac/boost/changeset/76757
Log:
Fix for thread detection with gcc-4.7 (beta) on Win32.
Text files modified:
branches/release/boost/config/stdlib/libstdcpp3.hpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
Modified: branches/release/boost/config/stdlib/libstdcpp3.hpp
==============================================================================
--- branches/release/boost/config/stdlib/libstdcpp3.hpp (original)
+++ branches/release/boost/config/stdlib/libstdcpp3.hpp 2012-01-28 13:38:49 EST (Sat, 28 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