summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2008-08-05 20:56:25 +0000
committerPierre Joye <pajoye@php.net>2008-08-05 20:56:25 +0000
commit457f00b20191d602cf5cc24daebf0d6a1f800b40 (patch)
treef2920657abb6b37f70630e78285688fd2f538e14
parent37d23600bf10a3256d5a4ebf27841de206b62d57 (diff)
downloadphp-git-457f00b20191d602cf5cc24daebf0d6a1f800b40.tar.gz
- MFH: fix oci8_11g when build shared (invalid extension)
-rw-r--r--ext/oci8/oci8.c4
1 files 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 */