summaryrefslogtreecommitdiff
path: root/www/apache2/patches/patch-ar
blob: 50f539e636b632745a7b311a9e4f2f3125ed1fe9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-ar,v 1.2 2003/05/29 01:02:29 itojun Exp $

--- srclib/apr/include/apr_atomic.h.orig	2003-05-03 13:11:07.000000000 +0900
+++ srclib/apr/include/apr_atomic.h	2003-05-29 09:50:00.000000000 +0900
@@ -211,7 +211,7 @@
 #define apr_atomic_set(mem, val)     atomic_set_int(mem, val)
 #define apr_atomic_read(mem)         (*mem)
 
-#elif (defined(__linux__) || defined(__EMX__)) && defined(__i386__) && !APR_FORCE_ATOMIC_GENERIC
+#elif !defined(__NetBSD__) && (defined(__linux__) || defined(__EMX__)) && defined(__i386__) && !APR_FORCE_ATOMIC_GENERIC
 
 #define apr_atomic_t apr_uint32_t
 #define apr_atomic_cas(mem,with,cmp) \