summaryrefslogtreecommitdiff
path: root/meta-pkgs/boost/patches/patch-ab
blob: 01160ef258fb25166f3e5e3a325d606326034765 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ab,v 1.4 2011/02/24 11:05:36 adam Exp $

--- boost/config/platform/bsd.hpp.orig	2009-08-20 17:55:59.000000000 +0200
+++ boost/config/platform/bsd.hpp
@@ -50,7 +50,7 @@
 // and not in <unistd.h>
 //
 #if (defined(__FreeBSD__) && (__FreeBSD__ <= 3))\
-   || defined(__OpenBSD__) || defined(__DragonFly__) 
+   || defined(__OpenBSD__) || defined(__DragonFly__) || defined(__NetBSD__)
 #  define BOOST_HAS_PTHREADS
 #endif