|
|
@ -127,7 +127,7 @@ static void php_zlib_init_globals(ZLIBLS_D) |
|
|
PHP_MINIT_FUNCTION(zlib) |
|
|
PHP_MINIT_FUNCTION(zlib) |
|
|
{ |
|
|
{ |
|
|
#ifdef ZTS |
|
|
#ifdef ZTS |
|
|
zlib_globals_id = ts_allocate_id(sizeof(php_zlib_globals), php_zlib_init_globals, NULL); |
|
|
|
|
|
|
|
|
zlib_globals_id = ts_allocate_id(sizeof(php_zlib_globals), (ts_allocate_ctor) php_zlib_init_globals, NULL); |
|
|
#else |
|
|
#else |
|
|
ZLIBG(gzgetss_state)=0; |
|
|
ZLIBG(gzgetss_state)=0; |
|
|
#endif |
|
|
#endif |
|
|
|