summaryrefslogtreecommitdiff
path: root/ext/informix/php_informix.h
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2001-07-30 20:50:54 +0000
committerfoobar <sniper@php.net>2001-07-30 20:50:54 +0000
commit12ae3ac2d764fc50eadc3704f013cb3cae5bdeed (patch)
treef1e342bb2b7b209c38e8a225b765de10e8b31047 /ext/informix/php_informix.h
parent75e835017ad4497d51127e034543c5f1d6536d18 (diff)
downloadphp-git-12ae3ac2d764fc50eadc3704f013cb3cae5bdeed.tar.gz
Use the new TSRM structure.
Diffstat (limited to 'ext/informix/php_informix.h')
-rw-r--r--ext/informix/php_informix.h12
1 files changed, 1 insertions, 11 deletions
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