summaryrefslogtreecommitdiff
path: root/ext/sockets/php_sockets.h
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-10-05 20:48:32 +0200
committerAnatol Belski <ab@php.net>2014-10-05 20:48:32 +0200
commit08b26382750ea0ad39b76323d1caf2497fd939ca (patch)
tree7c92ff3c50ebdf13cb9cf4c0cad769080c1e52e8 /ext/sockets/php_sockets.h
parentb946348969c7d1fe5c666510d59151cdf7184586 (diff)
downloadphp-git-08b26382750ea0ad39b76323d1caf2497fd939ca.tar.gz
convert ext/sockets to work with the static tsrm cache pointer
Diffstat (limited to 'ext/sockets/php_sockets.h')
-rw-r--r--ext/sockets/php_sockets.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/sockets/php_sockets.h b/ext/sockets/php_sockets.h
index b1ee5798c9..8a25f960a3 100644
--- a/ext/sockets/php_sockets.h
+++ b/ext/sockets/php_sockets.h
@@ -89,7 +89,7 @@ ZEND_BEGIN_MODULE_GLOBALS(sockets)
ZEND_END_MODULE_GLOBALS(sockets)
#ifdef ZTS
-#define SOCKETS_G(v) TSRMG(sockets_globals_id, zend_sockets_globals *, v)
+#define SOCKETS_G(v) ZEND_TSRMG(sockets_globals_id, zend_sockets_globals *, v)
#else
#define SOCKETS_G(v) (sockets_globals.v)
#endif