From ce85d0f24f067421fe79f2dec5cbefc2602dc59a Mon Sep 17 00:00:00 2001 From: Anatol Belski Date: Wed, 15 Nov 2017 20:21:40 +0100 Subject: Add missing ifdef --- ext/pcre/php_pcre.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'ext/pcre/php_pcre.c') diff --git a/ext/pcre/php_pcre.c b/ext/pcre/php_pcre.c index d94b1b3faa..5386077f8c 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); } -- cgit v1.2.1