summaryrefslogtreecommitdiff
path: root/ext/skeleton
diff options
context:
space:
mode:
authorZeev Suraski <zeev@php.net>2001-08-02 05:56:10 +0000
committerZeev Suraski <zeev@php.net>2001-08-02 05:56:10 +0000
commit37a3490f33315dde55b3aa7eb2ced860148c967f (patch)
tree2173be50405dfe830dd64a9d63a071a40ca3bbb9 /ext/skeleton
parent5dfe1deb96b3ce8de6227ac84805370006034999 (diff)
downloadphp-git-37a3490f33315dde55b3aa7eb2ced860148c967f.tar.gz
Fix the .h file (untested)
Diffstat (limited to 'ext/skeleton')
-rw-r--r--ext/skeleton/php_skeleton.h4
1 files changed, 1 insertions, 3 deletions
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 */