From c9a0a232e2a866398d5c65b2ea737f512f23eb8c Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Thu, 1 Jul 1999 19:47:25 +0000 Subject: [PATCH] #ifdef around true and false. --- src/include/c.h | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/src/include/c.h b/src/include/c.h index 48820e4f8e..bd14eaa531 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