summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/regex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/regex.c b/src/regex.c
index 1af5ab0edca..9bb15d7366e 100644
--- a/src/regex.c
+++ b/src/regex.c
@@ -260,7 +260,7 @@ char *alloca ();
/* Define how to allocate the failure stack. */
-#if defined (REL_ALLOC) && !defined (REGEX_MALLOC)
+#if defined (REL_ALLOC) && defined (REGEX_MALLOC)
#define REGEX_ALLOCATE_STACK(size) \
r_alloc (&failure_stack_ptr, (size))