mirror of
https://git.savannah.gnu.org/git/bison.git
synced 2026-10-23 16:08:26 +00:00
(bool, false, true): Use a definition consistent with ../lib/hash.c.
This commit is contained in:
1 parent
a3714bcedf
commit
78b8881659
1 file changed
+4
-4
+4
-4
@@ -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