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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user