summaryrefslogtreecommitdiff
path: root/win32/php_win32_globals.h
diff options
context:
space:
mode:
Diffstat (limited to 'win32/php_win32_globals.h')
-rw-r--r--win32/php_win32_globals.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/php_win32_globals.h b/win32/php_win32_globals.h
index 42f5ec9411..ae975dcb31 100644
--- a/win32/php_win32_globals.h
+++ b/win32/php_win32_globals.h
@@ -27,7 +27,7 @@ typedef struct _php_win32_core_globals php_win32_core_globals;
#ifdef ZTS
# define PW32G(v) TSRMG(php_win32_core_globals_id, php_win32_core_globals*, v)
-extern PHPAPI int php_win32_core_globals_id;
+TSRMG_DH(php_win32_core_globals, php_win32_core_globals_id);
#else
# define PW32G(v) (the_php_win32_core_globals.v)
extern PHPAPI struct _php_win32_core_globals the_php_win32_core_globals;