diff --git a/src/bindings/php/hammer.i b/src/bindings/php/hammer.i index 6089020..2e19d4e 100644 --- a/src/bindings/php/hammer.i +++ b/src/bindings/php/hammer.i @@ -11,7 +11,9 @@ %} %init %{ - TSRMLS_FETCH(); +#ifdef ZTS + void ***tsrm_ls; +#endif h_tt_php = h_allocate_token_type("com.upstandinghackers.hammer.php"); %}