diff src/os/unix/ngx_atomic.h @ 3378:5d17022a1e88

fix libatomic usage on arm, cris, hppa, m68k, and sparc platforms
author Igor Sysoev <igor@sysoev.ru>
date Mon, 07 Dec 2009 15:32:38 +0000
parents b4aa418af6ef
children d620f497c50f
line wrap: on
line diff
--- a/src/os/unix/ngx_atomic.h
+++ b/src/os/unix/ngx_atomic.h
@@ -14,6 +14,7 @@
 
 #if (NGX_HAVE_LIBATOMIC)
 
+#define AO_REQUIRE_CAS
 #include <atomic_ops.h>
 
 #define NGX_HAVE_ATOMIC_OPS  1