Mercurial > hg > nginx
changeset 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 | 8de152fbb49d |
children | 0c517d0cabe0 |
files | auto/lib/libatomic/conf src/os/unix/ngx_atomic.h |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/auto/lib/libatomic/conf Mon Dec 07 15:13:46 2009 +0000 +++ b/auto/lib/libatomic/conf Mon Dec 07 15:32:38 2009 +0000 @@ -14,7 +14,8 @@ ngx_feature="atomic_ops library" ngx_feature_name=NGX_HAVE_LIBATOMIC ngx_feature_run=yes - ngx_feature_incs="#include <atomic_ops.h>" + ngx_feature_incs="#define AO_REQUIRE_CAS + #include <atomic_ops.h>" ngx_feature_path= ngx_feature_libs="-latomic_ops" ngx_feature_test="long n = 0;