diff options
author | Anatol Belski <ab@php.net> | 2017-11-15 20:21:40 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2017-11-15 20:21:40 +0100 |
commit | ce85d0f24f067421fe79f2dec5cbefc2602dc59a (patch) | |
tree | e5a9491e324d91d1e2ecb9a79fb821a4d87f6ba0 /ext | |
parent | 9acbab30ccb4d7a55a6b2685db0f251e8c997d6d (diff) | |
download | php-git-ce85d0f24f067421fe79f2dec5cbefc2602dc59a.tar.gz |
Add missing ifdef
Diffstat (limited to 'ext')
-rw-r--r-- | ext/pcre/php_pcre.c | 2 |
1 files changed, 2 insertions, 0 deletions
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); } |