forked from boostorg/config
Fix for thread detection with gcc-4.7 (beta) on Win32.
[SVN r76757]
This commit is contained in:
@ -34,7 +34,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)
|
|| defined(_GLIBCXX_HAS_GTHREADS) \
|
||||||
|
|| defined(_WIN32)
|
||||||
//
|
//
|
||||||
// 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