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/oci8/php_oci8.h | |
| parent | b4f3b9d3ce9f55cf040fb5aa8f201c64646cab43 (diff) | |
| download | php-git-d87cc976e1156b839fc6d4aa6b473a126802b8e3.tar.gz | |
Redesigned thread safety mechanism - nua nua
Diffstat (limited to 'ext/oci8/php_oci8.h')
| -rw-r--r-- | ext/oci8/php_oci8.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/ext/oci8/php_oci8.h b/ext/oci8/php_oci8.h index cf870173cc..135d78a2e8 100644 --- a/ext/oci8/php_oci8.h +++ b/ext/oci8/php_oci8.h @@ -193,19 +193,9 @@ extern zend_module_entry oci8_module_entry; #define OCI_PIECE_SIZE (64*1024)-1 #ifdef ZTS -#define OCILS_D php_oci_globals *oci_globals -#define OCILS_DC , OCILS_D -#define OCILS_C oci_globals -#define OCILS_CC , OCILS_C -#define OCI(v) (oci_globals->v) -#define OCILS_FETCH() php_oci_globals *oci_globals = ts_resource(oci_globals_id) +#define OCI(v) TSRMG(oci_globals_id, php_oci_globals *, v) #else -#define OCILS_D -#define OCILS_DC -#define OCILS_C -#define OCILS_CC #define OCI(v) (oci_globals.v) -#define OCILS_FETCH() #endif #else /* !HAVE_OCI8 */ |
