summaryrefslogtreecommitdiff
path: root/meta-pkgs/boost/patches/patch-ac
blob: a78dd77278629e05033e15dcd71e405746df7001 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ac,v 1.8 2013/02/12 21:07:22 adam Exp $

--- boost/config/suffix.hpp.orig	2010-10-01 09:19:44.000000000 +0000
+++ boost/config/suffix.hpp
@@ -248,7 +248,7 @@
 //
 #if (defined(__MT__) || defined(_MT) || defined(_REENTRANT) \
     || defined(_PTHREADS) || defined(__APPLE__) || defined(__DragonFly__)) \
-    && !defined(BOOST_HAS_THREADS)
+    || defined(__NetBSD__) && !defined(BOOST_HAS_THREADS)
 #  define BOOST_HAS_THREADS
 #endif