diff options
Diffstat (limited to 'ext/cybermut/php_cybermut.h')
-rw-r--r-- | ext/cybermut/php_cybermut.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/cybermut/php_cybermut.h b/ext/cybermut/php_cybermut.h index a4c0755b2c..5683c097d7 100644 --- a/ext/cybermut/php_cybermut.h +++ b/ext/cybermut/php_cybermut.h @@ -57,11 +57,9 @@ ZEND_END_MODULE_GLOBALS(cybermut) */ #ifdef ZTS -#define CYBERMUTG(v) (cybermut_globals->v) -#define CYBERMUTLS_FETCH() php_cybermut_globals *cybermut_globals = ts_resource(cybermut_globals_id) +#define CYBERMUTG(v) TSRMG(cybermut_globals_id, php_cybermut_globals *, v) #else #define CYBERMUTG(v) (cybermut_globals.v) -#define CYBERMUTLS_FETCH() #endif #endif /* PHP_CYBERMUT_H */ |