mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-03-09 20:33:03 +00:00
(bool, false, true): Use a definition consistent with ../lib/hash.c.
This commit is contained in:
@@ -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 <stdbool.h>
|
||||
#else
|
||||
typedef enum {false = 0, true = 1} bool;
|
||||
#endif
|
||||
typedef int bool;
|
||||
|
||||
|
||||
/*-----------.
|
||||
|
||||
Reference in New Issue
Block a user