summaryrefslogtreecommitdiff
path: root/ext/skeleton
diff options
context:
space:
mode:
Diffstat (limited to 'ext/skeleton')
-rw-r--r--ext/skeleton/skeleton.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/ext/skeleton/skeleton.c b/ext/skeleton/skeleton.c
index 552224308a..b40b8424db 100644
--- a/ext/skeleton/skeleton.c
+++ b/ext/skeleton/skeleton.c
@@ -9,11 +9,7 @@
*/
#if HAVE_EXTNAME
-#ifdef ZTS
-int extname_globals_id;
-#else
-php_extname_globals extname_globals;
-#endif
+ZEND_DECLARE_MODULE_GLOBALS(extname)
/* Every user visible function must have an entry in extname_functions[].
*/