diff options
author | Anatol Belski <ab@php.net> | 2014-10-15 19:27:53 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-10-15 19:27:53 +0200 |
commit | 0e7682c63c10e374d76a4f93974f7e64716cf234 (patch) | |
tree | 7dc69261c180d82e9908534a72d24a1f10c68bee /ext/filter/php_filter.h | |
parent | 0490a322490ecf19aa428d2790a95db7ac953e00 (diff) | |
download | php-git-0e7682c63c10e374d76a4f93974f7e64716cf234.tar.gz |
moved ext/filter to use the static tsrmls pointer
Diffstat (limited to 'ext/filter/php_filter.h')
-rw-r--r-- | ext/filter/php_filter.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/filter/php_filter.h b/ext/filter/php_filter.h index 126a0c6c8b..a1e7e6602c 100644 --- a/ext/filter/php_filter.h +++ b/ext/filter/php_filter.h @@ -64,7 +64,8 @@ ZEND_BEGIN_MODULE_GLOBALS(filter) ZEND_END_MODULE_GLOBALS(filter) #ifdef ZTS -#define IF_G(v) TSRMG(filter_globals_id, zend_filter_globals *, v) +#define IF_G(v) ZEND_TSRMG(filter_globals_id, zend_filter_globals *, v) +ZEND_TSRMLS_CACHE_EXTERN; #else #define IF_G(v) (filter_globals.v) #endif |