From edaf4aecf0f4d368e8f2ea0f8b3f1d74189db8c7 Mon Sep 17 00:00:00 2001 From: matyhtf Date: Wed, 23 Oct 2024 17:44:22 +0800 Subject: [PATCH] Modify `zend_max_execution_timer.h` to export the symbols with C format --- Zend/zend_max_execution_timer.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Zend/zend_max_execution_timer.h b/Zend/zend_max_execution_timer.h index 789f50e6b7dcd..6557d6c918455 100644 --- a/Zend/zend_max_execution_timer.h +++ b/Zend/zend_max_execution_timer.h @@ -21,8 +21,10 @@ #include "zend_long.h" +BEGIN_EXTERN_C() /* Must be called after calls to fork() */ ZEND_API void zend_max_execution_timer_init(void); +END_EXTERN_C() void zend_max_execution_timer_settime(zend_long seconds); void zend_max_execution_timer_shutdown(void);