Skip to content

Commit c779bdc

Browse files
committed
Fix Windoes build
1 parent bf6b66f commit c779bdc

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

ext/opcache/jit/zend_jit_ir.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3156,9 +3156,11 @@ static void zend_jit_setup(void)
31563156
if (zend_cpu_supports_avx()) {
31573157
allowed_opt_flags |= ZEND_JIT_CPU_AVX;
31583158
}
3159+
# if PHP_HAVE_BUILTIN_CPU_SUPPORTS && defined(__GNUC__) && (ZEND_GCC_VERSION >= 11000)
31593160
if (zend_cpu_supports_cldemote()) {
31603161
default_mflags |= IR_X86_CLDEMOTE;
31613162
}
3163+
# endif
31623164
#endif
31633165
#ifdef ZTS
31643166
#if defined(IR_TARGET_AARCH64)

0 commit comments

Comments
 (0)