mirror of
https://github.com/boostorg/config.git
synced 2025-07-31 21:04:28 +02:00
Fix threading detection in GCC-4.7 experimental.
Fixes #6165. [SVN r76133]
This commit is contained in:
@@ -33,7 +33,8 @@
|
|||||||
|
|
||||||
#ifdef __GLIBCXX__ // gcc 3.4 and greater:
|
#ifdef __GLIBCXX__ // gcc 3.4 and greater:
|
||||||
# if defined(_GLIBCXX_HAVE_GTHR_DEFAULT) \
|
# 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
|
// 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
|
// as well. We do this because some gcc-3.4 std lib headers define _REENTANT
|
||||||
|
Reference in New Issue
Block a user