From: Christoph M. Becker Date: Thu, 3 Sep 2020 13:28:30 +0000 (+0200) Subject: Fix Windows build X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5fdabeb9695d008afcc967bd6e0c60e889fa6883;p=php Fix Windows build --- diff --git a/ext/opcache/ZendAccelerator.c b/ext/opcache/ZendAccelerator.c index 8683dc106f..6cef3ebe10 100644 --- a/ext/opcache/ZendAccelerator.c +++ b/ext/opcache/ZendAccelerator.c @@ -2547,7 +2547,7 @@ void accel_deactivate(void) } #endif -int accel_post_deactivate(void) +zend_result accel_post_deactivate(void) { if (ZCG(cwd)) { zend_string_release_ex(ZCG(cwd), 0); diff --git a/ext/opcache/ZendAccelerator.h b/ext/opcache/ZendAccelerator.h index 0d6dda86a1..500647265c 100644 --- a/ext/opcache/ZendAccelerator.h +++ b/ext/opcache/ZendAccelerator.h @@ -317,7 +317,7 @@ extern char *zps_api_failure_reason; void accel_shutdown(void); zend_result accel_activate(INIT_FUNC_ARGS); -int accel_post_deactivate(void); +zend_result accel_post_deactivate(void); void zend_accel_schedule_restart(zend_accel_restart_reason reason); void zend_accel_schedule_restart_if_necessary(zend_accel_restart_reason reason); accel_time_t zend_get_file_handle_timestamp(zend_file_handle *file_handle, size_t *size);