diff options
author | Igor Sysoev <igor@sysoev.ru> | 2009-12-07 15:32:38 +0000 |
---|---|---|
committer | Igor Sysoev <igor@sysoev.ru> | 2009-12-07 15:32:38 +0000 |
commit | 8f7c8f3c07038ce40e28cde141f936a8fd92eea9 (patch) | |
tree | 1ac490770e1f6aed5db240752533406344d42b22 /src/os/unix | |
parent | eacd5d89b7d94c8422390c6cedac0501ab974c96 (diff) | |
download | nginx-8f7c8f3c07038ce40e28cde141f936a8fd92eea9.tar.gz nginx-8f7c8f3c07038ce40e28cde141f936a8fd92eea9.zip |
fix libatomic usage on arm, cris, hppa, m68k, and sparc platforms
Diffstat (limited to 'src/os/unix')
-rw-r--r-- | src/os/unix/ngx_atomic.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/os/unix/ngx_atomic.h b/src/os/unix/ngx_atomic.h index 39b3e6b7f..57826ffcf 100644 --- 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 |