From 3868066021dd3d638f869af42980d393004a40a1 Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Wed, 26 Jun 2024 14:11:44 +0800 Subject: [PATCH] Fix build --- configs/yaf_config_ini.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configs/yaf_config_ini.c b/configs/yaf_config_ini.c index 036835c2..b8722021 100644 --- a/configs/yaf_config_ini.c +++ b/configs/yaf_config_ini.c @@ -382,7 +382,7 @@ int yaf_config_ini_init(yaf_config_object *conf, zval *filename, zend_string *se (zend_ini_parser_cb_t)yaf_config_ini_parser_cb, &configs) == FAILURE || Z_TYPE(configs) != IS_ARRAY) { zval_ptr_dtor(&configs); -#if PHP_VERSION_ID < 70400 +#if PHP_VERSION_ID < 80100 fclose(fh.handle.fp); #else zend_destroy_file_handle(&fh);