From: Zeev Suraski Date: Thu, 2 Aug 2001 05:56:10 +0000 (+0000) Subject: Fix the .h file (untested) X-Git-Tag: PRE_ENGINE2_SPLIT~133 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=37a3490f33315dde55b3aa7eb2ced860148c967f;p=php Fix the .h file (untested) --- diff --git a/ext/skeleton/php_skeleton.h b/ext/skeleton/php_skeleton.h index 69b09e0604..944a684684 100644 --- a/ext/skeleton/php_skeleton.h +++ b/ext/skeleton/php_skeleton.h @@ -39,11 +39,9 @@ ZEND_END_MODULE_GLOBALS(extname) */ #ifdef ZTS -#define EXTNAME_G(v) (extname_globals->v) -#define EXTNAME_LS_FETCH() zend_extname_globals *extname_globals = ts_resource(extname_globals_id) +#define EXTNAME_G(v) TSRMG(extname_globals_id, zend_##extname_globals *, v) #else #define EXTNAME_G(v) (extname_globals.v) -#define EXTNAME_LS_FETCH() #endif #endif /* PHP_EXTNAME_H */