Skip to content

Commit

Permalink
Fix compilation errors when PHP version is lower than 8.2.5 and 8.1.18
Browse files Browse the repository at this point in the history
  • Loading branch information
matyhtf committed Oct 23, 2024
1 parent 207ef59 commit efe4f9c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions ext-src/php_swoole.cc
Original file line number Diff line number Diff line change
Expand Up @@ -1041,7 +1041,9 @@ void sw_php_exit(int status) {
}

static void sw_after_fork(void *args) {
#ifdef ZEND_MAX_EXECUTION_TIMERS
zend_max_execution_timer_init();
#endif
}

PHP_RINIT_FUNCTION(swoole) {
Expand Down

0 comments on commit efe4f9c

Please sign in to comment.