summaryrefslogtreecommitdiff
path: root/ext/spl/php_spl.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/spl/php_spl.h')
-rw-r--r--ext/spl/php_spl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/php_spl.h b/ext/spl/php_spl.h
index cd8ea05f39..534a03885e 100644
--- a/ext/spl/php_spl.h
+++ b/ext/spl/php_spl.h
@@ -68,7 +68,7 @@ ZEND_END_MODULE_GLOBALS(spl)
#ifdef ZTS
# define SPL_G(v) TSRMG(spl_globals_id, zend_spl_globals *, v)
-TSRMG_DH(zend_spl_globals, sapi_globals_id);
+extern int spl_globals_id;
#else
# define SPL_G(v) (spl_globals.v)
extern zend_spl_globals spl_globals;