diff options
-rw-r--r-- | main/main.c | 2 | ||||
-rw-r--r-- | main/php3_compat.h | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/main/main.c b/main/main.c index 4e12db583d..9c0eae11ed 100644 --- a/main/main.c +++ b/main/main.c @@ -840,7 +840,7 @@ int php_module_startup(sapi_module_struct *sf) #endif SET_MUTEX(gLock); - le_index_ptr = _register_list_destructors(NULL, NULL, 0); + le_index_ptr = zend_register_list_destructors(NULL, NULL, 0, NULL); FREE_MUTEX(gLock); php_ini_mstartup(); diff --git a/main/php3_compat.h b/main/php3_compat.h index f2c360e704..213cb5374b 100644 --- a/main/php3_compat.h +++ b/main/php3_compat.h @@ -92,4 +92,6 @@ #define getParameters zend_get_parameters #define getParametersArray zend_get_parameters_array +#define list_entry zend_rsrc_list_entry + #endif /* _PHP_COMPAT_H */ |