Mercurial > hg > nginx-quic
comparison 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 |
comparison
equal
deleted
inserted
replaced
3377:8de152fbb49d | 3378:5d17022a1e88 |
---|---|
12 #include <ngx_core.h> | 12 #include <ngx_core.h> |
13 | 13 |
14 | 14 |
15 #if (NGX_HAVE_LIBATOMIC) | 15 #if (NGX_HAVE_LIBATOMIC) |
16 | 16 |
17 #define AO_REQUIRE_CAS | |
17 #include <atomic_ops.h> | 18 #include <atomic_ops.h> |
18 | 19 |
19 #define NGX_HAVE_ATOMIC_OPS 1 | 20 #define NGX_HAVE_ATOMIC_OPS 1 |
20 | 21 |
21 typedef long ngx_atomic_int_t; | 22 typedef long ngx_atomic_int_t; |