summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKalle Sommer Nielsen <kalle@php.net>2009-05-20 10:19:28 +0000
committerKalle Sommer Nielsen <kalle@php.net>2009-05-20 10:19:28 +0000
commit020749e1609b34db1f0078e3a1d763d432da516d (patch)
treefc6b924d7dcf43b140ab9a3158c900ea2fe328f3
parentbcfdedd53f11ac9daabfd1a8ac501a87177871ce (diff)
downloadphp-git-020749e1609b34db1f0078e3a1d763d432da516d.tar.gz
MFH: Fixed shared build
-rw-r--r--ext/pdo_dblib/pdo_dblib.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/pdo_dblib/pdo_dblib.c b/ext/pdo_dblib/pdo_dblib.c
index 9e1d7112e7..26bf945475 100644
--- a/ext/pdo_dblib/pdo_dblib.c
+++ b/ext/pdo_dblib/pdo_dblib.c
@@ -79,8 +79,12 @@ zend_module_entry pdo_dblib_module_entry = {
};
#if defined(COMPILE_DL_PDO_DBLIB) || defined(COMPILE_DL_PDO_MSSQL)
+#if PDO_DBLIB_IS_MSSQL
+ZEND_GET_MODULE(pdo_mssql)
+#else
ZEND_GET_MODULE(pdo_dblib)
#endif
+#endif
int error_handler(DBPROCESS *dbproc, int severity, int dberr,
int oserr, char *dberrstr, char *oserrstr)