Permalink
Browse files

Backport BOOST_ENABLE_THREADS/BOOST_DISABLE_THREADS fix for GCC 4.7.

  • Loading branch information...
1 parent 59d50de commit e9f627f1398c6d7f45b356451bdcabdd948910e5 @FooBarWidget FooBarWidget committed Apr 16, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 ext/boost/config/stdlib/libstdcpp3.hpp
@@ -31,7 +31,8 @@
#ifdef __GLIBCXX__ // gcc 3.4 and greater:
# if defined(_GLIBCXX_HAVE_GTHR_DEFAULT) \
- || defined(_GLIBCXX__PTHREADS)
+ || defined(_GLIBCXX__PTHREADS) \
+ || defined(_GLIBCXX_HAS_GTHREADS)
//
// 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

0 comments on commit e9f627f

Please sign in to comment.