From e1657372eba95d5c6255055598327b096f9d33e7 Mon Sep 17 00:00:00 2001 From: John Maddock Date: Sat, 28 Jan 2012 18:38:49 +0000 Subject: [PATCH] Fix for thread detection with gcc-4.7 (beta) on Win32. [SVN r76757] --- include/boost/config/stdlib/libstdcpp3.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/boost/config/stdlib/libstdcpp3.hpp b/include/boost/config/stdlib/libstdcpp3.hpp index aaa88905..03cea5c0 100644 --- a/include/boost/config/stdlib/libstdcpp3.hpp +++ b/include/boost/config/stdlib/libstdcpp3.hpp @@ -34,7 +34,8 @@ #ifdef __GLIBCXX__ // gcc 3.4 and greater: # if defined(_GLIBCXX_HAVE_GTHR_DEFAULT) \ || 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 // as well. We do this because some gcc-3.4 std lib headers define _REENTANT