From 8f7c8f3c07038ce40e28cde141f936a8fd92eea9 Mon Sep 17 00:00:00 2001 From: Igor Sysoev Date: Mon, 7 Dec 2009 15:32:38 +0000 Subject: fix libatomic usage on arm, cris, hppa, m68k, and sparc platforms --- src/os/unix/ngx_atomic.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/os/unix/ngx_atomic.h') 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 #define NGX_HAVE_ATOMIC_OPS 1 -- cgit v1.2.3