From: wessels <> Date: Tue, 26 Mar 1996 12:11:32 +0000 (+0000) Subject: use malloc unless we HAVE_ALLOCA X-Git-Tag: SQUID_3_0_PRE1~6390 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1cf7b8fafe6fb01441ab9a86ac675d42f53e5639;p=thirdparty%2Fsquid.git use malloc unless we HAVE_ALLOCA --- diff --git a/lib/GNUregex.c b/lib/GNUregex.c index 91d8d1019e..cc5e5d9a7d 100644 --- a/lib/GNUregex.c +++ b/lib/GNUregex.c @@ -34,6 +34,10 @@ #include "config.h" #endif +#if !HAVE_ALLOCA +#define REGEX_MALLOC 1 +#endif + /* The `emacs' switch turns on certain matching commands that make sense only in Emacs. */ #ifdef emacs