From 457f00b20191d602cf5cc24daebf0d6a1f800b40 Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Tue, 5 Aug 2008 20:56:25 +0000 Subject: [PATCH] - MFH: fix oci8_11g when build shared (invalid extension) --- ext/oci8/oci8.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/oci8/oci8.c b/ext/oci8/oci8.c index bda26b3ac5..e76b636807 100644 --- a/ext/oci8/oci8.c +++ b/ext/oci8/oci8.c @@ -107,7 +107,7 @@ static sword php_oci_ping_init(php_oci_connection *connection, OCIError *errh TS /* }}} */ /* {{{ dynamically loadable module stuff */ -#ifdef COMPILE_DL_OCI8 +#if defined(COMPILE_DL_OCI8) || defined(COMPILE_DL_OCI8_11G) ZEND_GET_MODULE(oci8) #endif /* COMPILE_DL */ /* }}} */ @@ -1018,7 +1018,7 @@ zend_function_entry php_oci_coll_class_functions[] = { zend_module_entry oci8_module_entry = { STANDARD_MODULE_HEADER, - "oci8", /* extension name */ + "oci8_11g", /* extension name */ php_oci_functions, /* extension function list */ PHP_MINIT(oci), /* extension-wide startup function */ PHP_MSHUTDOWN(oci), /* extension-wide shutdown function */ -- 2.40.0