Fix for thread detection with gcc-4.7 (beta) on Win32.

[SVN r76757]
This commit is contained in:
John Maddock
2012-01-28 18:38:49 +00:00
parent 6f18ead6db
commit e1657372eb

View File

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