diff options
| author | Zeev Suraski <zeev@php.net> | 2001-07-28 11:36:37 +0000 |
|---|---|---|
| committer | Zeev Suraski <zeev@php.net> | 2001-07-28 11:36:37 +0000 |
| commit | d87cc976e1156b839fc6d4aa6b473a126802b8e3 (patch) | |
| tree | 8acb068dd7458e1c8df3a7d8ecb87d065990fdb1 /ext/fbsql/php_fbsql.h | |
| parent | b4f3b9d3ce9f55cf040fb5aa8f201c64646cab43 (diff) | |
| download | php-git-d87cc976e1156b839fc6d4aa6b473a126802b8e3.tar.gz | |
Redesigned thread safety mechanism - nua nua
Diffstat (limited to 'ext/fbsql/php_fbsql.h')
| -rw-r--r-- | ext/fbsql/php_fbsql.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/ext/fbsql/php_fbsql.h b/ext/fbsql/php_fbsql.h index d10fe805d0..064ce5d954 100644 --- a/ext/fbsql/php_fbsql.h +++ b/ext/fbsql/php_fbsql.h @@ -113,19 +113,9 @@ ZEND_BEGIN_MODULE_GLOBALS(fbsql) ZEND_END_MODULE_GLOBALS(fbsql) #ifdef ZTS -# define FBSQLLS_D zend_fbsql_globals *fbsql_globals -# define FBSQLLS_DC , FBSQLLS_D -# define FBSQLLS_C fbsql_globals -# define FBSQLLS_CC , FBSQLLS_C -# define FB_SQL_G(v) (fbsql_globals->v) -# define FBSQLLS_FETCH() zend_fbsql_globals *fbsql_globals = ts_resource(fbsql_globals_id) +# define FB_SQL_G(v) TSRMG(fbsql_globals_id, zend_fbsql_globals *, v) #else -# define FBSQLLS_D -# define FBSQLLS_DC -# define FBSQLLS_C -# define FBSQLLS_CC # define FB_SQL_G(v) (fbsql_globals.v) -# define FBSQLLS_FETCH() #endif |
