Browse Source

Forgot to commit the php4 fixes

PHP-4.0.5
Zeev Suraski 27 years ago
parent
commit
81138a641a
  1. 2
      main/main.c
  2. 2
      main/php3_compat.h

2
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();

2
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 */
Loading…
Cancel
Save