openbsd-ports/devel/boost/patches/patch-boost_config_suffix_hpp
bernd 109403012c Update to boost-1.34.1.
Initial diff from Mikko Tolmunen. Thank you!
Some corrections from brad@.

Tested by deanna@, naddy@, brad@ and myself.

ok deanna@, brad@
2008-04-03 07:44:39 +00:00

13 lines
521 B
Plaintext

$OpenBSD: patch-boost_config_suffix_hpp,v 1.3 2008/04/03 07:44:39 bernd 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