diff options
Diffstat (limited to 'deps/regex/regex.c')
-rw-r--r-- | deps/regex/regex.c | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/deps/regex/regex.c b/deps/regex/regex.c index f9a8c9bf1..225a001ee 100644 --- a/deps/regex/regex.c +++ b/deps/regex/regex.c @@ -67,10 +67,17 @@ #include "regex_internal.h" #include "regex_internal.c" + #ifdef GAWK -#define bool int -#define true (1) -#define false (0) +# define bool int + +# ifndef true +# define true (1) +# endif + +# ifndef false +# define false (0) +# endif #endif #include "regcomp.c" #include "regexec.c" |