summaryrefslogtreecommitdiff
path: root/ext/spl/php_spl.h
diff options
context:
space:
mode:
authorkrakjoe <joe.watkins@live.co.uk>2014-09-20 21:28:01 +0100
committerkrakjoe <joe.watkins@live.co.uk>2014-09-20 21:28:01 +0100
commitb180fc2daa56cc0bfea3e1561fabdfdb452995b4 (patch)
treeae7ffaf31d1eb171c0c83f4a8b28249ede14014d /ext/spl/php_spl.h
parentb3aebda9eaf55706af2e21178f229a171725a168 (diff)
downloadphp-git-b180fc2daa56cc0bfea3e1561fabdfdb452995b4.tar.gz
update SPL extension for native-tls branch
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 534a03885e..cd8ea05f39 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)
-extern int spl_globals_id;
+TSRMG_DH(zend_spl_globals, sapi_globals_id);
#else
# define SPL_G(v) (spl_globals.v)
extern zend_spl_globals spl_globals;