comparison 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
comparison
equal deleted inserted replaced
4758:1f908d2dde8d 4759:4c36e15651f7
46 */ 46 */
47 47
48 #include <libkern/OSAtomic.h> 48 #include <libkern/OSAtomic.h>
49 49
50 /* "bool" conflicts with perl's CORE/handy.h */ 50 /* "bool" conflicts with perl's CORE/handy.h */
51 #if 0
51 #undef bool 52 #undef bool
53 #endif
52 54
53 55
54 #define NGX_HAVE_ATOMIC_OPS 1 56 #define NGX_HAVE_ATOMIC_OPS 1
55 57
56 #if (NGX_PTR_SIZE == 8) 58 #if (NGX_PTR_SIZE == 8)