diff options
author | Thies C. Arntzen <thies@php.net> | 1999-09-28 11:09:03 +0000 |
---|---|---|
committer | Thies C. Arntzen <thies@php.net> | 1999-09-28 11:09:03 +0000 |
commit | 9156c2c8d1e6e895ece63b066078ce90a8954a69 (patch) | |
tree | ccdf2531f7803f9aa2452ce55d8d0ee818b93e13 | |
parent | 4c3f393743f2861ab7bd9852ccfc709aec309adb (diff) | |
download | php-git-9156c2c8d1e6e895ece63b066078ce90a8954a69.tar.gz |
init in thread-safe mode if ZTS isdefined
-rw-r--r-- | ext/oracle/oracle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/oracle/oracle.c b/ext/oracle/oracle.c index 4c61ba8c24..6faeca2ecf 100644 --- a/ext/oracle/oracle.c +++ b/ext/oracle/oracle.c @@ -322,7 +322,7 @@ PHP_MINIT_FUNCTION(oracle) REGISTER_LONG_CONSTANT("ORA_FETCHINTO_ASSOC",ORA_FETCHINTO_ASSOC, CONST_CS | CONST_PERSISTENT); REGISTER_LONG_CONSTANT("ORA_FETCHINTO_NULLS",ORA_FETCHINTO_NULLS, CONST_CS | CONST_PERSISTENT); -#if NEEDED +#ifdef ZTS opinit(OCI_EV_TSF); /* initialize threaded environment - must match the threaded mode of the oci8 driver if both are used at the same time!! */ #endif |