Skip to content

Commit

Permalink
Backport BOOST_ENABLE_THREADS/BOOST_DISABLE_THREADS fix for GCC 4.7.
Browse files Browse the repository at this point in the history
  • Loading branch information
FooBarWidget committed Apr 16, 2012
1 parent 59d50de commit e9f627f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion ext/boost/config/stdlib/libstdcpp3.hpp
Expand Up @@ -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
Expand Down

0 comments on commit e9f627f

Please sign in to comment.