summaryrefslogtreecommitdiff
path: root/ext/ingres_ii/php_ii.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/ingres_ii/php_ii.h')
-rw-r--r--ext/ingres_ii/php_ii.h12
1 files changed, 1 insertions, 11 deletions
diff --git a/ext/ingres_ii/php_ii.h b/ext/ingres_ii/php_ii.h
index af9ee73d7a..b48e931985 100644
--- a/ext/ingres_ii/php_ii.h
+++ b/ext/ingres_ii/php_ii.h
@@ -78,19 +78,9 @@ ZEND_END_MODULE_GLOBALS(ii)
#define II_BOTH (II_ASSOC|II_NUM)
#ifdef ZTS
-#define IILS_D zend_ii_globals *ii_globals
-#define IILS_DC , IILS_D
-#define IILS_C ii_globals
-#define IILS_CC , IILS_C
-#define IIG(v) (ii_globals->v)
-#define IILS_FETCH() zend_ii_globals *ii_globals = ts_resource(ii_globals_id)
+#define IIG(v) TSRMG(ii_globals_id, zend_ii_globals *, v)
#else
-#define IILS_D
-#define IILS_DC
-#define IILS_C
-#define IILS_CC
#define IIG(v) (ii_globals.v)
-#define IILS_FETCH()
#endif
#else