From 81138a641adbf0b53b3219661bde5061fedfd405 Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Sat, 15 Apr 2000 13:53:20 +0000 Subject: Forgot to commit the php4 fixes --- main/main.c | 2 +- main/php3_compat.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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 */ -- cgit v1.2.1