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 /main/php_output.h | |
parent | b4f3b9d3ce9f55cf040fb5aa8f201c64646cab43 (diff) | |
download | php-git-d87cc976e1156b839fc6d4aa6b473a126802b8e3.tar.gz |
Redesigned thread safety mechanism - nua nua
Diffstat (limited to 'main/php_output.h')
-rw-r--r-- | main/php_output.h | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/main/php_output.h b/main/php_output.h index 45d8c404a1..38211a5222 100644 --- a/main/php_output.h +++ b/main/php_output.h @@ -77,16 +77,10 @@ typedef struct _php_output_globals { #ifdef ZTS -#define OLS_D php_output_globals *output_globals -#define OLS_C output_globals -#define OG(v) (output_globals->v) -#define OLS_FETCH() php_output_globals *output_globals = ts_resource(output_globals_id) +#define OG(v) TSRMG(output_globals_id, php_output_globals *, v) ZEND_API extern int output_globals_id; #else -#define OLS_D void -#define OLS_C #define OG(v) (output_globals.v) -#define OLS_FETCH() ZEND_API extern php_output_globals output_globals; #endif |