ports/devel/pecl-swoole/files/patch-ext-src_php__swoole__private.h
2021-04-23 14:35:14 +08:00

11 lines
588 B
C

--- ext-src/php_swoole_private.h.orig 2021-04-23 05:47:52 UTC
+++ ext-src/php_swoole_private.h
@@ -894,7 +894,7 @@ static sw_inline zend_bool sw_zend_is_callable_at_fram
char **error) {
zend_string *name;
zend_bool ret;
-#if PHP_VERSION_ID < 80000
+#if PHP_VERSION_ID < 80001
ret = zend_is_callable_ex(zcallable, zobject ? Z_OBJ_P(zobject) : NULL, check_flags, &name, fci_cache, error);
#else
ret = zend_is_callable_at_frame(zcallable, zobject ? Z_OBJ_P(zobject) : NULL, frame, check_flags, fci_cache, error);