Skip to content

Commit 486ad56

Browse files
committed
More build fixes
1 parent e4f0e35 commit 486ad56

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

ext/sablot/sablot.c

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -209,7 +209,7 @@ zend_module_entry sablot_module_entry = {
209209
ZEND_GET_MODULE(sablot)
210210
#endif
211211

212-
static void php_sablot_init_globals(php_sablot_globals *sablot_globals)
212+
static void php_sablot_init_globals(zend_sablot_globals *sablot_globals TSRMLS_DC)
213213
{
214214
sablot_globals->processor = NULL;
215215
sablot_globals->errors = NULL;
@@ -222,7 +222,7 @@ static void php_sablot_init_globals(php_sablot_globals *sablot_globals)
222222
PHP_MINIT_FUNCTION(sablot)
223223
{
224224
#ifdef ZTS
225-
ts_allocate_id(&sablot_globals_id, sizeof(php_sablot_globals), (ts_allocate_ctor)php_sablot_init_globals, NULL);
225+
ts_allocate_id(&sablot_globals_id, sizeof(zend_sablot_globals), (ts_allocate_ctor)php_sablot_init_globals, NULL);
226226
#else
227227
php_sablot_init_globals(&sablot_globals TSRMLS_CC);
228228
#endif
@@ -232,6 +232,7 @@ PHP_MINIT_FUNCTION(sablot)
232232
return SUCCESS;
233233
}
234234

235+
235236
PHP_MSHUTDOWN_FUNCTION(sablot)
236237
{
237238
if (SABLOTG(processor)) {

0 commit comments

Comments
 (0)