diff src/os/unix/ngx_atomic.h @ 2133:c505e2712e13

fix conflicting names "true" and "false"
author Igor Sysoev <igor@sysoev.ru>
date Thu, 31 Jul 2008 07:55:46 +0000
parents 08c6ee7a1b11
children 7658e9c7e814
line wrap: on
line diff
--- a/src/os/unix/ngx_atomic.h
+++ b/src/os/unix/ngx_atomic.h
@@ -21,13 +21,8 @@
 
 #include <libkern/OSAtomic.h>
 
-/* "bool" conflicts with perl's CORE/handy.h
- * "true" and "false" conflict with nginx, and of course we can rename them,
- * but we need to undef "bool" anyway
- */
+/* "bool" conflicts with perl's CORE/handy.h */
 #undef bool
-#undef true
-#undef false
 
 
 #define NGX_HAVE_ATOMIC_OPS  1