summaryrefslogtreecommitdiff
path: root/devel/apr/patches/patch-au
blob: 376913bae60390ad4d2233f38183fabe1ef32ee0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-au,v 1.1 2006/10/04 21:51:32 rillig Exp $

NetBSD 3.0 does not have pthread_setconcurrency().

--- apr/test/testatomic.c.orig	2005-02-04 21:36:31.000000000 +0100
+++ apr/test/testatomic.c	2006-10-04 22:30:21.000000000 +0200
@@ -227,7 +227,7 @@ int main(int argc, char**argv)
     }
 
     printf("APR Atomic Test\n===============\n\n");
-#if !(defined WIN32) && !(defined NETWARE) && !(defined __MVS__) && !(defined DARWIN)
+#if !(defined WIN32) && !(defined NETWARE) && !(defined __MVS__) && !(defined DARWIN) && !defined(__NetBSD__)
     pthread_setconcurrency(8);
 #endif
     printf("%-60s", "Initializing the context");