summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoug MacEachern <dougm@apache.org>2000-04-28 18:31:20 +0000
committerDoug MacEachern <dougm@apache.org>2000-04-28 18:31:20 +0000
commitd3f10a7c285e1d68b78add745ef1b8eeb14af52e (patch)
tree8174b916ea951a2b7a810f05f771a3afdc3dc8e4
parent7b10913ec391673232ad71bdef8cdb7e34054150 (diff)
downloadapr-d3f10a7c285e1d68b78add745ef1b8eeb14af52e.tar.gz
don't redefine TRUE/FALSE
git-svn-id: https://svn.apache.org/repos/asf/apr/apr/trunk@59985 13f79535-47bb-0310-9956-ffa450edef68
-rw-r--r--include/apr_general.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/apr_general.h b/include/apr_general.h
index 5e86b6bc5..6d8917599 100644
--- a/include/apr_general.h
+++ b/include/apr_general.h
@@ -72,8 +72,12 @@
extern "C" {
#endif /* __cplusplus */
-#define TRUE 1
+#ifndef FALSE
#define FALSE 0
+#endif
+#ifndef TRUE
+#define TRUE (!FALSE)
+#endif
#define MAXIMUM_WAIT_OBJECTS 64