diff options
author | Bruce Momjian <bruce@momjian.us> | 1999-07-01 19:47:25 +0000 |
---|---|---|
committer | Bruce Momjian <bruce@momjian.us> | 1999-07-01 19:47:25 +0000 |
commit | c9a0a232e2a866398d5c65b2ea737f512f23eb8c (patch) | |
tree | 4a7214bc2682f2510ca589307e1638eabcc8ce5a /src | |
parent | 51ae21316f6a7a6beeed0275c5f5dcb5c4a9a91f (diff) | |
download | postgresql-c9a0a232e2a866398d5c65b2ea737f512f23eb8c.tar.gz postgresql-c9a0a232e2a866398d5c65b2ea737f512f23eb8c.zip |
#ifdef around true and false.
Diffstat (limited to 'src')
-rw-r--r-- | src/include/c.h | 8 |
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 |