openbsd-ports/devel/boost/patches/patch-boost_config_suffix_hpp

14 lines
601 B
Plaintext

$OpenBSD: patch-boost_config_suffix_hpp,v 1.7 2010/03/30 11:00:15 robert Exp $
--- boost/config/suffix.hpp.orig Tue May 12 18:19:58 2009
+++ boost/config/suffix.hpp Tue May 12 18:21:48 2009
@@ -225,7 +225,8 @@
// from here then add to the appropriate compiler section):
//
#if (defined(__MT__) || defined(_MT) || defined(_REENTRANT) \
- || defined(_PTHREADS) || defined(__APPLE__) || defined(__DragonFly__)) \
+ || defined(_PTHREADS) || defined(_POSIX_THREADS) \
+ || defined(__APPLE__) || defined(__DragonFly__)) \
&& !defined(BOOST_HAS_THREADS)
# define BOOST_HAS_THREADS
#endif