com php-src: Add missing ifdef: ext/pcre/php_pcre.c

From: Date: Wed, 15 Nov 2017 19:21:40 +0000
Subject: com php-src: Add missing ifdef: ext/pcre/php_pcre.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-100265@lists.php.net to get a copy of this message
Commit: ce85d0f24f067421fe79f2dec5cbefc2602dc59a Author: Anatol Belski <ab@php.net> Wed, 15 Nov 2017 20:21:40 +0100 Parents: 9acbab30ccb4d7a55a6b2685db0f251e8c997d6d Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=ce85d0f24f067421fe79f2dec5cbefc2602dc59a Log: Add missing ifdef Changed paths: M ext/pcre/php_pcre.c Diff: diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c index d94b1b3..5386077 100644 --- a/ext/pcre/php_pcre.c +++ b/ext/pcre/php_pcre.c @@ -243,7 +243,9 @@ static PHP_GINIT_FUNCTION(pcre) /* {{{ */ pcre_globals->backtrack_limit = 0; pcre_globals->recursion_limit = 0; pcre_globals->error_code = PHP_PCRE_NO_ERROR; +#ifdef HAVE_PCRE_JIT_SUPPORT pcre_globals->jit = 1; +#endif php_pcre_init_pcre2(1); }

« previous php.cvs (#100265) next »