|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r76133 - trunk/boost/config/stdlib
From: john_at_[hidden]
Date: 2011-12-24 11:19:42
Author: johnmaddock
Date: 2011-12-24 11:19:41 EST (Sat, 24 Dec 2011)
New Revision: 76133
URL: http://svn.boost.org/trac/boost/changeset/76133
Log:
Fix threading detection in GCC-4.7 experimental.
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 2011-12-24 11:19:41 EST (Sat, 24 Dec 2011)
@@ -33,7 +33,8 @@
#ifdef __GLIBCXX__ // gcc 3.4 and greater:
# if defined(_GLIBCXX_HAVE_GTHR_DEFAULT) \
- || defined(_GLIBCXX__PTHREADS)
+ || defined(_GLIBCXX__PTHREADS) \
+ || defined(_GLIBCXX_HAS_GTHREADS)
//
// 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