]> granicus.if.org Git - php/commitdiff
Add missing ifdef
authorAnatol Belski <ab@php.net>
Wed, 15 Nov 2017 19:21:40 +0000 (20:21 +0100)
committerAnatol Belski <ab@php.net>
Wed, 15 Nov 2017 19:21:40 +0000 (20:21 +0100)
ext/pcre/php_pcre.c

index d94b1b3faa0e78d69ea440ed06b360f6f875eb6a..5386077f8cbf15ab211ed2738067a29f18accd22 100644 (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);
 }