payden/php-xz — pull request #4 by chobie (2013-08-11 16:38:20+00:00)
Title: fix TSRMLS compilation error for thread safe environment.

Hi, I've just fixed missing TSRMLS macros.

`php_stream_write` needs `tsrm_ls` parameter when php compiled thread safe mode.
you can reproduce this problem with `--enable-maintainer-zts`'d php.

see also:

* https://github.com/php/php-src/blob/master/main/php_streams.h#L298
* http://php.net/manual/en/internals2.buildsys.environment.php