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 /ext/vpopmail/php_vpopmail.h | |
parent | b4f3b9d3ce9f55cf040fb5aa8f201c64646cab43 (diff) | |
download | php-git-d87cc976e1156b839fc6d4aa6b473a126802b8e3.tar.gz |
Redesigned thread safety mechanism - nua nua
Diffstat (limited to 'ext/vpopmail/php_vpopmail.h')
-rw-r--r-- | ext/vpopmail/php_vpopmail.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/ext/vpopmail/php_vpopmail.h b/ext/vpopmail/php_vpopmail.h index 10c1b7c8cf..cb96bd3f8d 100644 --- a/ext/vpopmail/php_vpopmail.h +++ b/ext/vpopmail/php_vpopmail.h @@ -75,11 +75,9 @@ ZEND_BEGIN_MODULE_GLOBALS(vpopmail) ZEND_END_MODULE_GLOBALS(vpopmail) #ifdef ZTS -#define VPOPMAILG(v) (vpopmail_globals->v) -#define VPOPMAILLS_FETCH() php_vpopmail_globals *vpopmail_globals = ts_resource(gd_vpopmail_id) +#define VPOPMAILG(v) TSRMG(gd_vpopmail_id, php_vpopmail_globals *, v) #else #define VPOPMAILG(v) (vpopmail_globals.v) -#define VPOPMAILLS_FETCH() #endif #else |