diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-07-20 13:09:55 -0400 |
---|---|---|
committer | Austin Foxley <austinf@cetoncorp.com> | 2009-08-19 12:16:52 -0700 |
commit | cda754758c48b034c71140204d5ee1400d2d9478 (patch) | |
tree | e7dbf3aa61aee0741804a807b1f6f32e43e34464 /libc/misc/regex/regex_internal.h | |
parent | 695a890bc3f2d0e8bf020dfdd489c0e34f9676c9 (diff) | |
download | uClibc-alpine-cda754758c48b034c71140204d5ee1400d2d9478.tar.bz2 uClibc-alpine-cda754758c48b034c71140204d5ee1400d2d9478.tar.xz |
regex: convert #if to #ifdef
Avoid gcc warnings about #if statements with defines that aren't defined.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libc/misc/regex/regex_internal.h')
-rw-r--r-- | libc/misc/regex/regex_internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/regex/regex_internal.h b/libc/misc/regex/regex_internal.h index 85efe6655..03f08bf52 100644 --- a/libc/misc/regex/regex_internal.h +++ b/libc/misc/regex/regex_internal.h @@ -361,7 +361,7 @@ static unsigned int re_string_context_at (const re_string_t *input, int idx, #include <alloca.h> #if 1 -# if HAVE_ALLOCA +# ifdef HAVE_ALLOCA /* The OS usually guarantees only one guard page at the bottom of the stack, and a page size can be as small as 4096 bytes. So we cannot safely allocate anything larger than 4096 bytes. Also care for the possibility |