aboutsummaryrefslogtreecommitdiff
path: root/src/os/unix/ngx_atomic.h
diff options
context:
space:
mode:
authorIgor Sysoev <igor@sysoev.ru>2008-07-31 07:55:46 +0000
committerIgor Sysoev <igor@sysoev.ru>2008-07-31 07:55:46 +0000
commita3e9f7d306a14bed4dd0f6717b46d8b0e3a0d646 (patch)
treed73cffe98b95b0e631544ddbaa7e664b9a1da705 /src/os/unix/ngx_atomic.h
parente513a89220d71dc5dcf0ce506722d8247cb6c4d5 (diff)
downloadnginx-a3e9f7d306a14bed4dd0f6717b46d8b0e3a0d646.tar.gz
nginx-a3e9f7d306a14bed4dd0f6717b46d8b0e3a0d646.zip
fix conflicting names "true" and "false"
Diffstat (limited to 'src/os/unix/ngx_atomic.h')
-rw-r--r--src/os/unix/ngx_atomic.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/os/unix/ngx_atomic.h b/src/os/unix/ngx_atomic.h
index 22b8b0144..e19fddaca 100644
--- 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