Commit c9a0a232 authored by Bruce Momjian's avatar Bruce Momjian

#ifdef around true and false.

parent 51ae2131
...@@ -7,7 +7,7 @@ ...@@ -7,7 +7,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * 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; ...@@ -71,8 +71,12 @@ typedef char bool;
#endif /* ndef bool */ #endif /* ndef bool */
#endif /* not C++ */ #endif /* not C++ */
#define false ((bool) 0) #ifndef true
#define true ((bool) 1) #define true ((bool) 1)
#endif
#ifndef false
#define false ((bool) 0)
#endif
typedef bool *BoolPtr; typedef bool *BoolPtr;
#ifndef TRUE #ifndef TRUE
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment