diff options
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 |