Skip to content

Commit ac60b9d

Browse files
committed
Fix Windows build
1 parent a8cdb7d commit ac60b9d

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

ext/opcache/jit/zend_jit.c

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,10 @@ static bool zend_jit_ffi_compatible(zend_ffi_type *dst_type, uint32_t src_info,
8383
if (src_type->kind >= ZEND_FFI_TYPE_POINTER) {
8484
return false;
8585
}
86-
if (dst_type == src_type || zend_ffi_is_compatible_type(dst_type, src_type)) {
86+
if (dst_type == src_type
87+
// TODO: calls between shared extensions doesn't work on Windows
88+
// || zend_ffi_is_compatible_type(dst_type, src_type)
89+
) {
8790
return true;
8891
}
8992
}

0 commit comments

Comments
 (0)