This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
lsts_glued/packages/boost/patches-1.47.0/00-issue-with-thread.patch
2013-07-13 17:19:22 +01:00

12 lines
574 B
Diff

--- boost_1_47_0/boost/config/stdlib/libstdcpp3.hpp 2011-04-25 14:10:48.000000000 +0200
+++ boost_1_47_0/boost/config/stdlib/libstdcpp3.hpp 2013-04-08 16:26:05.222543782 +0200
@@ -33,7 +33,7 @@
#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