Skip to content

Commit 7130a17

Browse files
committed
ext/opcache/jit: Fix -Wundef warning for HAVE_CAPSTONE
All other times this symbol is references #ifdef is used
1 parent 193d385 commit 7130a17

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/jit/zend_jit_ir.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16011,7 +16011,7 @@ static void *zend_jit_finish(zend_jit_ctx *jit)
1601116011
entry = zend_jit_ir_compile(&jit->ctx, &size, str ? ZSTR_VAL(str) : NULL);
1601216012
if (entry) {
1601316013
if (JIT_G(debug) & (ZEND_JIT_DEBUG_ASM|ZEND_JIT_DEBUG_GDB|ZEND_JIT_DEBUG_PERF|ZEND_JIT_DEBUG_PERF_DUMP)) {
16014-
#if HAVE_CAPSTONE
16014+
#ifdef HAVE_CAPSTONE
1601516015
if (JIT_G(debug) & ZEND_JIT_DEBUG_ASM) {
1601616016
if (str) {
1601716017
ir_disasm_add_symbol(ZSTR_VAL(str), (uintptr_t)entry, size);

0 commit comments

Comments
 (0)