diff options
author | Ruslan Ermilov <ru@nginx.com> | 2012-07-24 15:09:54 +0000 |
---|---|---|
committer | Ruslan Ermilov <ru@nginx.com> | 2012-07-24 15:09:54 +0000 |
commit | 1efcca36cc97faa42cfc48128b25c9e1ed748bbd (patch) | |
tree | aa514d2c62978205f2d4216cd51aab049c11d700 /src/os/unix/ngx_atomic.h | |
parent | 7e72000482b439da9536907a67ccc34cdbb2afef (diff) | |
download | nginx-1efcca36cc97faa42cfc48128b25c9e1ed748bbd.tar.gz nginx-1efcca36cc97faa42cfc48128b25c9e1ed748bbd.zip |
Fixed compilation with -Wmissing-prototypes.
Diffstat (limited to 'src/os/unix/ngx_atomic.h')
-rw-r--r-- | src/os/unix/ngx_atomic.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/os/unix/ngx_atomic.h b/src/os/unix/ngx_atomic.h index 104ac376a..417cd86ff 100644 --- a/src/os/unix/ngx_atomic.h +++ b/src/os/unix/ngx_atomic.h @@ -48,7 +48,9 @@ typedef volatile ngx_atomic_uint_t ngx_atomic_t; #include <libkern/OSAtomic.h> /* "bool" conflicts with perl's CORE/handy.h */ +#if 0 #undef bool +#endif #define NGX_HAVE_ATOMIC_OPS 1 |