From 78b88816597cf3d1d6479c85e7d21f268df73895 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 22 Oct 2002 04:40:09 +0000 Subject: [PATCH] (bool, false, true): Use a definition consistent with ../lib/hash.c. --- src/system.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/system.h b/src/system.h index 002fa810..69f385cc 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; /*-----------. -- 2.45.2