diff options
author | Jakub Zelenka <bukka@php.net> | 2014-12-27 19:42:04 +0000 |
---|---|---|
committer | Jakub Zelenka <bukka@php.net> | 2014-12-27 19:42:04 +0000 |
commit | b68da91d52801fb2cc4d2a4a44c859ea5b6c622b (patch) | |
tree | 290f7c8ea7fd2df02c995b07c1d490c2de333db5 /sapi/apache2handler/php_apache.h | |
parent | 4f6539bdaf62f0343f4ec67638d2f96e8c1c00ae (diff) | |
parent | a9e86957c70c181e830ba05bb030c468d0cb15e1 (diff) | |
download | php-git-b68da91d52801fb2cc4d2a4a44c859ea5b6c622b.tar.gz |
Merge branch 'master' into jsond
Conflicts:
ext/json/JSON_parser.c
ext/json/JSON_parser.h
ext/json/config.m4
ext/json/config.w32
ext/json/json.c
ext/json/php_json.h
Diffstat (limited to 'sapi/apache2handler/php_apache.h')
-rw-r--r-- | sapi/apache2handler/php_apache.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/sapi/apache2handler/php_apache.h b/sapi/apache2handler/php_apache.h index f6f4f7a7c9..8712b2b958 100644 --- a/sapi/apache2handler/php_apache.h +++ b/sapi/apache2handler/php_apache.h @@ -70,16 +70,17 @@ void php_ap2_register_hook(apr_pool_t *p); #define APR_ARRAY_FOREACH_CLOSE() }} typedef struct { - long engine; - long xbithack; - long last_modified; + zend_bool engine; + zend_bool xbithack; + zend_bool last_modified; } php_apache2_info_struct; 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) |