summaryrefslogtreecommitdiff
path: root/meta-pkgs/boost/patches/patch-ac
blob: 17df87d249e37d766e6aa4fdb3f5240bca89d9ae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ac,v 1.6 2010/11/26 20:47:01 adam Exp $

--- boost/config/suffix.hpp.orig	2010-10-01 09:19:44.000000000 +0000
+++ boost/config/suffix.hpp
@@ -254,7 +254,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