From 061f229abcecc23e06de8966ca658cf6a188b6c5 Mon Sep 17 00:00:00 2001 From: Kalle Sommer Nielsen Date: Wed, 20 May 2009 10:18:51 +0000 Subject: [PATCH] MFH: Fixed shared build --- ext/pdo_dblib/pdo_dblib.c | 4 ++++ 1 file changed, 4 insertions(+) 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) -- 2.50.1