ianh 02/03/14 16:38:05
Modified: include apr_atomic.h
test testatomic.c
Log:
freebsd atomic support will only be available in 5
as the functionality is just not there in 4.5, and cripples the api
Revision Changes Path
1.16 +1 -1 apr/include/apr_atomic.h
Index: apr_atomic.h
===================================================================
RCS file: /home/cvs/apr/include/apr_atomic.h,v
retrieving revision 1.15
retrieving revision 1.16
diff -u -r1.15 -r1.16
--- apr_atomic.h 13 Mar 2002 20:39:13 -0000 1.15
+++ apr_atomic.h 15 Mar 2002 00:38:05 -0000 1.16
@@ -186,7 +186,7 @@
#define APR_ATOMIC_NEED_CAS_DEFAULT 1
#endif
-#elif defined(__FreeBSD__) && (__FreeBSD__ >= 4)
+#elif defined(__FreeBSD__) && (__FreeBSD__ >= 5)
#include <machine/atomic.h>
#define apr_atomic_t apr_uint32_t
1.10 +1 -1 apr/test/testatomic.c
Index: testatomic.c
===================================================================
RCS file: /home/cvs/apr/test/testatomic.c,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- testatomic.c 14 Mar 2002 14:58:33 -0000 1.9
+++ testatomic.c 15 Mar 2002 00:38:05 -0000 1.10
@@ -69,7 +69,7 @@
#include <pthread.h>
#endif
-#if defined(__FreeBSD__) && (__FreeBSD__ < 4)
+#if defined(__FreeBSD__) && (__FreeBSD__ < 5)
int main(void)
{