- Make the non-threadsafe version compile again

This commit is contained in:
Andi Gutmans 1999-08-14 09:55:43 +00:00
parent 25829488c4
commit 7145d1a21a

View File

@ -804,9 +804,8 @@ int php_module_startup(sapi_module_struct *sf)
zuf.get_ini_entry = php_get_ini_entry_for_zend;
zend_startup(&zuf, NULL);
tsrm_set_new_thread_end_handler(php_new_thread_end_handler);
#ifdef ZTS
tsrm_set_new_thread_end_handler(php_new_thread_end_handler);
core_globals_id = ts_allocate_id(sizeof(php_core_globals), NULL, NULL);
core_globals = ts_resource(core_globals_id);
#endif