diff src/os/unix/ngx_atomic.h @ 4759:4c36e15651f7

Fixed compilation with -Wmissing-prototypes.
author Ruslan Ermilov <ru@nginx.com>
date Tue, 24 Jul 2012 15:09:54 +0000
parents d620f497c50f
children 2cd019520210
line wrap: on
line diff
--- 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_
 #include <libkern/OSAtomic.h>
 
 /* "bool" conflicts with perl's CORE/handy.h */
+#if 0
 #undef bool
+#endif
 
 
 #define NGX_HAVE_ATOMIC_OPS  1