LogoopenSUSE Build Service > Projects
Sign Up | Log In

View File boost-1.46.0-gcc47-withthreads.patch of Package boost-1.46.1 (Project home:jblunck:md)

Index: boost_1_46_0/boost/config/stdlib/libstdcpp3.hpp
===================================================================
--- boost_1_46_0.orig/boost/config/stdlib/libstdcpp3.hpp
+++ boost_1_46_0/boost/config/stdlib/libstdcpp3.hpp
@@ -31,7 +31,9 @@
 
 #ifdef __GLIBCXX__ // gcc 3.4 and greater:
 #  if defined(_GLIBCXX_HAVE_GTHR_DEFAULT) \
-        || defined(_GLIBCXX__PTHREADS)
+        || defined(_GLIBCXX__PTHREADS) \
+        || 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