From 06520772aea12457818c384a616776f9afb1da7e Mon Sep 17 00:00:00 2001 From: John Maddock Date: Sat, 24 Dec 2011 16:19:41 +0000 Subject: [PATCH] Fix threading detection in GCC-4.7 experimental. Fixes #6165. [SVN r76133] --- include/boost/config/stdlib/libstdcpp3.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/config/stdlib/libstdcpp3.hpp b/include/boost/config/stdlib/libstdcpp3.hpp index 52d58373..aaa88905 100644 --- a/include/boost/config/stdlib/libstdcpp3.hpp +++ b/include/boost/config/stdlib/libstdcpp3.hpp @@ -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