comparison src/os/unix/ngx_atomic.h @ 4798:29928279ec9f stable-1.2

Merge of r4760, r4761: -Wmissing-prototypes. Fixed compilation with -Wmissing-prototypes. Added a commented out -Wmissing-prototypes to CFLAGS. It is commented out to not break builds with 3rd party modules.
author Maxim Dounin <mdounin@mdounin.ru>
date Mon, 06 Aug 2012 17:07:28 +0000
parents d620f497c50f
children 2cd019520210
comparison
equal deleted inserted replaced
4797:d1cea70248c7 4798:29928279ec9f
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)