summaryrefslogtreecommitdiff
path: root/devel/apr0/patches/patch-au
blob: 8b79dee6a0a5a693e92d9e0fc2e75574a3f01d76 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-au,v 1.1.1.1 2007/01/24 19:31:24 epg 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");