Browse files

Fix compilation problem on Fedora 17: glibc threading support was not…

… being detected properly
  • Loading branch information...
1 parent e676723 commit 6ec77e4c30c8621a91078628c6408a4aff2e0a7d @FooBarWidget FooBarWidget committed Sep 14, 2012
Showing with 2 additions and 1 deletion.
  1. +2 −1 ext/boost/config/stdlib/libstdcpp3.hpp
View
3 ext/boost/config/stdlib/libstdcpp3.hpp
@@ -32,7 +32,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(_GLIBCXX_PTHREADS)
//
// 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 6ec77e4

Please sign in to comment.