diff --git a/src/bindings/php/hammer.i b/src/bindings/php/hammer.i index 608902097fdd9fb31bbe07681021a974b9facb84..2e19d4eaec504ceb6f1dfe4890507ac12d2ac2b7 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"); %}