$NetBSD: patch-ar,v 1.3 2004/09/20 17:19:34 adrianp Exp $ --- srclib/apr/include/apr_atomic.h.orig 2004-09-17 11:43:55.000000000 +0100 +++ srclib/apr/include/apr_atomic.h 2004-09-17 11:45:30.000000000 +0100 @@ -168,7 +168,7 @@ #define apr_atomic_set(mem, val) (atomic_set_int(mem, val),mem) #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) \