summaryrefslogtreecommitdiff
path: root/sapi/apache_hooks/php_apache.c
diff options
context:
space:
mode:
authorkrakjoe <joe.watkins@live.co.uk>2014-09-20 20:22:14 +0100
committerkrakjoe <joe.watkins@live.co.uk>2014-09-20 20:22:14 +0100
commitb3aebda9eaf55706af2e21178f229a171725a168 (patch)
tree9aa1794dc4b513d5c0077adcbeb89fa215f181a4 /sapi/apache_hooks/php_apache.c
parent763bfb4f3b0e66d5a961f9f367aa86e9f9da262e (diff)
downloadphp-git-b3aebda9eaf55706af2e21178f229a171725a168.tar.gz
native tls initial patch
Diffstat (limited to 'sapi/apache_hooks/php_apache.c')
-rw-r--r--sapi/apache_hooks/php_apache.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sapi/apache_hooks/php_apache.c b/sapi/apache_hooks/php_apache.c
index e5bd3f5d61..771ebf821c 100644
--- a/sapi/apache_hooks/php_apache.c
+++ b/sapi/apache_hooks/php_apache.c
@@ -1392,7 +1392,7 @@ static PHP_MINIT_FUNCTION(apache)
zend_class_entry ce;
#ifdef ZTS
- ts_allocate_id(&php_apache_info_id, sizeof(php_apache_info_struct), (ts_allocate_ctor) php_apache_globals_ctor, NULL);
+ TSRMG_ALLOCATE(php_apache_info_id, sizeof(php_apache_info_struct), (ts_allocate_ctor) php_apache_globals_ctor, NULL);
#else
php_apache_globals_ctor(&php_apache_info TSRMLS_CC);
#endif