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

14 lines
549 B
Plaintext
Raw Normal View History

@@ -0,0 +1,12 @@
+$OpenBSD: patch-boost_config_suffix_hpp,v 1.5 2009/07/27 00:34:24 kurt Exp $
+--- boost/config/suffix.hpp.orig Thu Feb 9 18:29:09 2006
++++ boost/config/suffix.hpp Mon Jan 7 20:59:55 2008
+@@ -207,7 +207,7 @@
+ // from here then add to the appropriate compiler section):
+ //
+ #if (defined(__MT__) || defined(_MT) || defined(_REENTRANT) \
+- || defined(_PTHREADS)) && !defined(BOOST_HAS_THREADS)
++ || defined(_PTHREADS) || defined(_POSIX_THREADS)) && !defined(BOOST_HAS_THREADS)
+ # define BOOST_HAS_THREADS
+ #endif
+