aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Momjian <bruce@momjian.us>1999-07-01 19:47:25 +0000
committerBruce Momjian <bruce@momjian.us>1999-07-01 19:47:25 +0000
commitc9a0a232e2a866398d5c65b2ea737f512f23eb8c (patch)
tree4a7214bc2682f2510ca589307e1638eabcc8ce5a /src
parent51ae21316f6a7a6beeed0275c5f5dcb5c4a9a91f (diff)
downloadpostgresql-c9a0a232e2a866398d5c65b2ea737f512f23eb8c.tar.gz
postgresql-c9a0a232e2a866398d5c65b2ea737f512f23eb8c.zip
#ifdef around true and false.
Diffstat (limited to 'src')
-rw-r--r--src/include/c.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/include/c.h b/src/include/c.h
index 48820e4f8e0..bd14eaa5310 100644
--- a/src/include/c.h
+++ b/src/include/c.h
@@ -7,7 +7,7 @@
*
* Copyright (c) 1994, Regents of the University of California
*
- * $Id: c.h,v 1.57 1999/06/19 05:00:30 momjian Exp $
+ * $Id: c.h,v 1.58 1999/07/01 19:47:25 momjian Exp $
*
*-------------------------------------------------------------------------
*/
@@ -71,8 +71,12 @@ typedef char bool;
#endif /* ndef bool */
#endif /* not C++ */
-#define false ((bool) 0)
+#ifndef true
#define true ((bool) 1)
+#endif
+#ifndef false
+#define false ((bool) 0)
+#endif
typedef bool *BoolPtr;
#ifndef TRUE