From 12ae3ac2d764fc50eadc3704f013cb3cae5bdeed Mon Sep 17 00:00:00 2001 From: foobar Date: Mon, 30 Jul 2001 20:50:54 +0000 Subject: Use the new TSRM structure. --- ext/informix/php_informix.h | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'ext/informix/php_informix.h') diff --git a/ext/informix/php_informix.h b/ext/informix/php_informix.h index caf693684c..f693aef570 100644 --- a/ext/informix/php_informix.h +++ b/ext/informix/php_informix.h @@ -118,19 +118,9 @@ ZEND_BEGIN_MODULE_GLOBALS(ifx) ZEND_END_MODULE_GLOBALS(ifx) #ifdef ZTS -# define IFXLS_D zend_ifx_globals *ifx_globals -# define IFXLS_DC , IFXLS_D -# define IFXLS_C ifx_globals -# define IFXLS_CC , IFXLS_C -# define IFXG(v) (ifx_globals->v) -# define IFXLS_FETCH() zend_ifx_globals *ifx_globals = ts_resource(ifx_globals_id) +# define IFXG(v) TSRMG(ifx_globals_id, zend_ifx_globals *, v) #else -# define IFXLS_D -# define IFXLS_DC -# define IFXLS_C -# define IFXLS_CC # define IFXG(v) (ifx_globals.v) -# define IFXLS_FETCH() #endif #define MAX_RESID 64 -- cgit v1.2.1