Petr Machata 7a3ddc
Index: boost/config/stdlib/libstdcpp3.hpp
Petr Machata 7a3ddc
===================================================================
Petr Machata 7a3ddc
--- boost/config/stdlib/libstdcpp3.hpp  (revision 75635)
Petr Machata 7a3ddc
+++ boost/config/stdlib/libstdcpp3.hpp  (working copy)
Petr Machata 7a3ddc
@@ -33,7 +33,8 @@
Petr Machata 7a3ddc
 
Petr Machata 7a3ddc
 #ifdef __GLIBCXX__ // gcc 3.4 and greater:
Petr Machata 7a3ddc
 #  if defined(_GLIBCXX_HAVE_GTHR_DEFAULT) \
Petr Machata 7a3ddc
-        || defined(_GLIBCXX__PTHREADS)
Petr Machata 7a3ddc
+        || defined(_GLIBCXX__PTHREADS) \
Petr Machata 7a3ddc
+        || defined(_GLIBCXX_HAS_GTHREADS)
Petr Machata 7a3ddc
       //
Petr Machata 7a3ddc
       // If the std lib has thread support turned on, then turn it on in Boost
Petr Machata 7a3ddc
       // as well.  We do this because some gcc-3.4 std lib headers define _REENTANT