Add missing ifdef

This commit is contained in:
Anatol Belski 2017-11-15 20:21:40 +01:00
parent 9acbab30cc
commit ce85d0f24f

View file

@ -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);
}