From: Wez Furlong Date: Fri, 7 May 2004 17:47:02 +0000 (+0000) Subject: Fix Bug #28317: Avoid recursion in libpcre on windows platform. X-Git-Tag: RELEASE_0_1~270 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ce05cea7eef8e66a576c017eddeedf3afb380575;p=php Fix Bug #28317: Avoid recursion in libpcre on windows platform. --- diff --git a/ext/pcre/config.w32 b/ext/pcre/config.w32 index 88ac189782..602920e3f0 100644 --- a/ext/pcre/config.w32 +++ b/ext/pcre/config.w32 @@ -5,7 +5,7 @@ ARG_WITH("pcre-regex", "Perl Compatible Regular Expressions", "yes"); if (PHP_PCRE_REGEX == "yes") { EXTENSION("pcre", "php_pcre.c", PHP_PCRE_REGEX_SHARED, - "-DSUPPORT_UTF8 -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10 -Iext/pcre/pcrelib"); + "-DSUPPORT_UTF8 -DLINK_SIZE=2 -DPOSIX_MALLOC_THRESHOLD=10 -Iext/pcre/pcrelibi -DNO_RECURSE"); ADD_SOURCES("ext/pcre/pcrelib", "maketables.c get.c study.c pcre.c", "pcre"); AC_DEFINE('HAVE_BUNDLED_PCRE', 1, 'Using bundled PCRE library');