From d87cc976e1156b839fc6d4aa6b473a126802b8e3 Mon Sep 17 00:00:00 2001 From: Zeev Suraski Date: Sat, 28 Jul 2001 11:36:37 +0000 Subject: Redesigned thread safety mechanism - nua nua --- ext/mssql/php_mssql.h | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) (limited to 'ext/mssql/php_mssql.h') diff --git a/ext/mssql/php_mssql.h b/ext/mssql/php_mssql.h index f3b0dc2563..85572c4099 100644 --- a/ext/mssql/php_mssql.h +++ b/ext/mssql/php_mssql.h @@ -141,19 +141,9 @@ typedef struct mssql_result { #ifdef ZTS -# define MSSQLLS_D zend_mssql_globals *mssql_globals -# define MSSQLLS_DC , MSSQLLS_D -# define MSSQLLS_C mssql_globals -# define MSSQLLS_CC , MSSQLLS_C -# define MS_SQL_G(v) (mssql_globals->v) -# define MSSQLLS_FETCH() zend_mssql_globals *mssql_globals = ts_resource(mssql_globals_id) +# define MS_SQL_G(v) TSRMG(mssql_globals_id, zend_mssql_globals *, v) #else -# define MSSQLLS_D -# define MSSQLLS_DC -# define MSSQLLS_C -# define MSSQLLS_CC # define MS_SQL_G(v) (mssql_globals.v) -# define MSSQLLS_FETCH() #endif #else -- cgit v1.2.1