summaryrefslogtreecommitdiff
path: root/main/php_globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'main/php_globals.h')
-rw-r--r--main/php_globals.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/main/php_globals.h b/main/php_globals.h
index a60efe69de..0e088d20f0 100644
--- a/main/php_globals.h
+++ b/main/php_globals.h
@@ -27,7 +27,7 @@ typedef struct _php_core_globals php_core_globals;
#ifdef ZTS
# define PG(v) TSRMG(core_globals_id, php_core_globals *, v)
-extern PHPAPI int core_globals_id;
+TSRMG_DH(php_core_globals, core_globals_id);
#else
# define PG(v) (core_globals.v)
extern ZEND_API struct _php_core_globals core_globals;