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/mcrypt/php_mcrypt.h | |
parent | b4f3b9d3ce9f55cf040fb5aa8f201c64646cab43 (diff) | |
download | php-git-d87cc976e1156b839fc6d4aa6b473a126802b8e3.tar.gz |
Redesigned thread safety mechanism - nua nua
Diffstat (limited to 'ext/mcrypt/php_mcrypt.h')
-rw-r--r-- | ext/mcrypt/php_mcrypt.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/ext/mcrypt/php_mcrypt.h b/ext/mcrypt/php_mcrypt.h index 3858abdf2a..02e147c0eb 100644 --- a/ext/mcrypt/php_mcrypt.h +++ b/ext/mcrypt/php_mcrypt.h @@ -67,19 +67,9 @@ ZEND_BEGIN_MODULE_GLOBALS(mcrypt) ZEND_END_MODULE_GLOBALS(mcrypt) #ifdef ZTS -# define MCLS_D zend_mcrypt_globals *mcrypt_globals -# define MCLS_DC , MCLS_D -# define MCLS_C mcrypt_globals -# define MCLS_CC , MCLS_C -# define MCG(v) (mcrypt_globals->v) -# define MCLS_FETCH() zend_mcrypt_globals *mcrypt_globals = ts_resource(mcrypt_globals_id) +# define MCG(v) TSRMG(mcrypt_globals_id, zend_mcrypt_globals *, v) #else -# define MCLS_D -# define MCLS_DC -# define MCLS_C -# define MCLS_CC # define MCG(v) (mcrypt_globals.v) -# define MCLS_FETCH() #endif #endif |