From 9156c2c8d1e6e895ece63b066078ce90a8954a69 Mon Sep 17 00:00:00 2001 From: "Thies C. Arntzen" Date: Tue, 28 Sep 1999 11:09:03 +0000 Subject: init in thread-safe mode if ZTS isdefined --- ext/oracle/oracle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.1