summaryrefslogtreecommitdiff
path: root/libc/misc/regex/regex_internal.h
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-07-20 13:09:55 -0400
committerMike Frysinger <vapier@gentoo.org>2009-07-20 13:12:46 -0400
commit5e51016045a00dfbd5eac43aaf12b094a0895a63 (patch)
tree853c3e7df40be8aed0acbcc2a1374ff3596c6d62 /libc/misc/regex/regex_internal.h
parentfa2ba2e3c3b3a684b7db51cc47c8c7e1d5934880 (diff)
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>
Diffstat (limited to 'libc/misc/regex/regex_internal.h')
-rw-r--r--libc/misc/regex/regex_internal.h2
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