summaryrefslogtreecommitdiff
path: root/meta-pkgs/boost/patches/patch-ac
blob: 4a57191c7aafbba520c127c9cb85adf875ffe7da (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ac,v 1.5 2009/10/14 06:40:08 adam Exp $

--- boost/config/suffix.hpp.orig	2009-06-06 15:48:57.000000000 +0200
+++ boost/config/suffix.hpp
@@ -226,7 +226,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