From: Paul Eggert Date: Tue, 22 Oct 2002 04:40:09 +0000 (+0000) Subject: (bool, false, true): Use a definition consistent with ../lib/hash.c. X-Git-Tag: BISON-1_875~411 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=78b88816597cf3d1d6479c85e7d21f268df73895;p=platform%2Fupstream%2Fbison.git (bool, false, true): Use a definition consistent with ../lib/hash.c. --- diff --git a/src/system.h b/src/system.h index 002fa81..69f385c 100644 --- a/src/system.h +++ b/src/system.h @@ -181,11 +181,11 @@ void *memrchr (const void *s, int c, size_t n); | Booleans. | `-----------*/ -#ifndef TRUE -# define TRUE (1) -# define FALSE (0) +#if HAVE_STDBOOL_H +# include +#else +typedef enum {false = 0, true = 1} bool; #endif -typedef int bool; /*-----------.