forked from boostorg/config
Enable thread support unconditionally on Win32 - it's not clear that this is the right thing to do, but it does seem to be needed for gcc-4.7 on Mingw and Cygwin.
Fixes #6165. [SVN r76594]
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