summaryrefslogtreecommitdiff
path: root/ext/pdo_dblib/pdo_dblib.c
diff options
context:
space:
mode:
authorKalle Sommer Nielsen <kalle@php.net>2009-05-20 10:18:51 +0000
committerKalle Sommer Nielsen <kalle@php.net>2009-05-20 10:18:51 +0000
commit061f229abcecc23e06de8966ca658cf6a188b6c5 (patch)
treef99613eb5090c3287a96720f98c6eaebe09e0a49 /ext/pdo_dblib/pdo_dblib.c
parent654073073221f2ecbbd2b9b69ca8da74461112f1 (diff)
downloadphp-git-061f229abcecc23e06de8966ca658cf6a188b6c5.tar.gz
MFH: Fixed shared build
Diffstat (limited to 'ext/pdo_dblib/pdo_dblib.c')
-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 46bd927a49..babda78587 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)