1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 00:02:20 +01:00

moved most of the core to use static tsrm ls cache pointer

plus apache2handler, cli and cgi
This commit is contained in:
Anatol Belski
2014-10-15 16:33:40 +02:00
parent 991a04b068
commit 8aeffdd74c
22 changed files with 63 additions and 22 deletions

View File

@@ -79,7 +79,8 @@ extern zend_module_entry apache2_module_entry;
#ifdef ZTS
extern int php_apache2_info_id;
#define AP2(v) TSRMG(php_apache2_info_id, php_apache2_info_struct *, v)
#define AP2(v) ZEND_TSRMG(php_apache2_info_id, php_apache2_info_struct *, v)
ZEND_TSRMLS_CACHE_EXTERN;
#else
extern php_apache2_info_struct php_apache2_info;
#define AP2(v) (php_apache2_info.v)