Fix threading detection in GCC-4.7 experimental.

Fixes #6165.

[SVN r76133]
This commit is contained in:
John Maddock
2011-12-24 16:19:41 +00:00
parent 8828d82d4d
commit 06520772ae

View File

@ -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