Skip to content

Commit

Permalink
Fix Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
cmb69 committed Sep 3, 2020
1 parent 42a6ff4 commit 5fdabeb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ext/opcache/ZendAccelerator.c
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down
2 changes: 1 addition & 1 deletion ext/opcache/ZendAccelerator.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 5fdabeb

Please sign in to comment.