diff options
author | Edward Thomson <ethomson@microsoft.com> | 2013-12-09 10:25:36 -0500 |
---|---|---|
committer | Edward Thomson <ethomson@microsoft.com> | 2013-12-09 11:40:44 -0500 |
commit | 5588f0736089ab00e12cb7ea7c8143ec666738e6 (patch) | |
tree | 1f877c23d223d4dedabafb4bc6c793efe82f9fdc /deps | |
parent | 07c5dc84fd486b380d618319b4852591d355bd81 (diff) | |
download | libgit2-5588f0736089ab00e12cb7ea7c8143ec666738e6.tar.gz |
Clean up warnings
Diffstat (limited to 'deps')
-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" |