diff options
| author | Zeev Suraski <zeev@php.net> | 2001-07-28 11:36:37 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 2001-07-28 11:36:37 +0000 |
| commit | d87cc976e1156b839fc6d4aa6b473a126802b8e3 (patch) | |
| tree | 8acb068dd7458e1c8df3a7d8ecb87d065990fdb1 /sapi/apache/mod_php4.h | |
| parent | b4f3b9d3ce9f55cf040fb5aa8f201c64646cab43 (diff) | |
| download | php-git-d87cc976e1156b839fc6d4aa6b473a126802b8e3.tar.gz | |
Redesigned thread safety mechanism - nua nua
Diffstat (limited to 'sapi/apache/mod_php4.h')
| -rw-r--r-- | sapi/apache/mod_php4.h | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sapi/apache/mod_php4.h b/sapi/apache/mod_php4.h index c70d09a5a8..92229e8cf3 100644 --- a/sapi/apache/mod_php4.h +++ b/sapi/apache/mod_php4.h @@ -38,14 +38,10 @@ extern zend_module_entry apache_module_entry; #ifdef ZTS extern int php_apache_info_id; -#define APLS_D php_apache_info_struct *apache_globals -#define AP(v) (apache_globals->v) -#define APLS_FETCH() APLS_D = ts_resource(php_apache_info_id) +#define AP(v) TSRMG(alloc_globals_id, php_apache_info_struct *, v) #else extern php_apache_info_struct php_apache_info; -#define APLS_D #define AP(v) (php_apache_info.v) -#define APLS_FETCH() #endif |
