From 760308cbff05914efd20cf1ad4d39f5b4cb3c24e Mon Sep 17 00:00:00 2001 From: Nikita Popov Date: Tue, 16 Jul 2019 10:26:25 +0200 Subject: [PATCH] Fix build without jit --- ext/opcache/zend_accelerator_module.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ext/opcache/zend_accelerator_module.c b/ext/opcache/zend_accelerator_module.c index e390a2fe6d..936687760a 100644 --- a/ext/opcache/zend_accelerator_module.c +++ b/ext/opcache/zend_accelerator_module.c @@ -792,9 +792,11 @@ static ZEND_FUNCTION(opcache_get_configuration) add_assoc_bool(&directives, "opcache.huge_code_pages", ZCG(accel_directives).huge_code_pages); #endif add_assoc_string(&directives, "opcache.preload", STRING_NOT_NULL(ZCG(accel_directives).preload)); +#ifdef HAVE_JIT add_assoc_long(&directives, "opcache.jit", ZCG(accel_directives).jit); add_assoc_long(&directives, "opcache.jit_buffer_size", ZCG(accel_directives).jit_buffer_size); add_assoc_long(&directives, "opcache.jit_debug", ZCG(accel_directives).jit_debug); +#endif add_assoc_zval(return_value, "directives", &directives); -- 2.40.0