diff options
Diffstat (limited to 'connectivity/source/drivers/ado')
-rw-r--r-- | connectivity/source/drivers/ado/ADriver.cxx | 2 | ||||
-rw-r--r-- | connectivity/source/drivers/ado/Aservices.cxx | 5 | ||||
-rwxr-xr-x | connectivity/source/drivers/ado/makefile.mk | 4 |
3 files changed, 7 insertions, 4 deletions
diff --git a/connectivity/source/drivers/ado/ADriver.cxx b/connectivity/source/drivers/ado/ADriver.cxx index ca0f6acc970a..35229f6ac608 100644 --- a/connectivity/source/drivers/ado/ADriver.cxx +++ b/connectivity/source/drivers/ado/ADriver.cxx @@ -39,7 +39,7 @@ #include <com/sun/star/lang/DisposedException.hpp> #include "connectivity/dbexception.hxx" #include "resource/ado_res.hrc" -#include <Objbase.h> +#include <objbase.h> #include "resource/sharedresources.hxx" diff --git a/connectivity/source/drivers/ado/Aservices.cxx b/connectivity/source/drivers/ado/Aservices.cxx index a9bf835cf940..5fd7231d7a07 100644 --- a/connectivity/source/drivers/ado/Aservices.cxx +++ b/connectivity/source/drivers/ado/Aservices.cxx @@ -87,9 +87,8 @@ struct ProviderRequest //--------------------------------------------------------------------------------------- extern "C" SAL_DLLPUBLIC_EXPORT void SAL_CALL component_getImplementationEnvironment( - const sal_Char **ppEnvTypeName, - uno_Environment ** /*ppEnv*/ - ) + const sal_Char **ppEnvTypeName, + uno_Environment ** /*ppEnv*/) { *ppEnvTypeName = CPPU_CURRENT_LANGUAGE_BINDING_NAME ":affine"; } diff --git a/connectivity/source/drivers/ado/makefile.mk b/connectivity/source/drivers/ado/makefile.mk index 8e65a8771dde..20cd74f99692 100755 --- a/connectivity/source/drivers/ado/makefile.mk +++ b/connectivity/source/drivers/ado/makefile.mk @@ -43,6 +43,10 @@ ENVCFLAGS+=/FR$(SLO)$/ .IF "$(GUI)"=="WNT" # --- Files ------------------------------------- +.IF "$(COM)" == "GCC" +CFLAGS+=-fpermissive +.ENDIF + EXCEPTIONSFILES= \ $(SLO)$/ADatabaseMetaDataImpl.obj \ $(SLO)$/Aolevariant.obj \ |