never initialize oci in OCI_THREADED mode. seems to break win32.

This commit is contained in:
Thies C. Arntzen 2001-04-11 15:46:03 +00:00
parent 4532eebc4a
commit cb88701315

View File

@ -342,11 +342,16 @@ PHP_MINIT_FUNCTION(oci)
{
zend_class_entry oci_lob_class_entry;
/* XXX Joe Brown says OCI_THREADED breaks windows, assuming the same is true for unix - tc
#ifdef ZTS
#define PHP_OCI_INIT_MODE OCI_THREADED
#else
*/
#define PHP_OCI_INIT_MODE OCI_DEFAULT
/*
#endif
*/
#if OCI_USE_EMALLOC
OCIInitialize(PHP_OCI_INIT_MODE, NULL, ocimalloc, ocirealloc, ocifree);