diff options
Diffstat (limited to 'cli_ure/source/uno_bridge')
-rw-r--r-- | cli_ure/source/uno_bridge/cli_bridge.cxx | 3 | ||||
-rw-r--r-- | cli_ure/source/uno_bridge/cli_data.cxx | 4 |
2 files changed, 7 insertions, 0 deletions
diff --git a/cli_ure/source/uno_bridge/cli_bridge.cxx b/cli_ure/source/uno_bridge/cli_bridge.cxx index 615941b3f36a..93e51058a170 100644 --- a/cli_ure/source/uno_bridge/cli_bridge.cxx +++ b/cli_ure/source/uno_bridge/cli_bridge.cxx @@ -20,6 +20,9 @@ #include <vcclr.h> //ToDo: remove when build with .NET 2 #pragma warning(push, 1) +#if !defined WIN32_LEAN_AND_MEAN +# define WIN32_LEAN_AND_MEAN +#endif #include <windows.h> #include "uno/environment.hxx" #pragma warning(pop) diff --git a/cli_ure/source/uno_bridge/cli_data.cxx b/cli_ure/source/uno_bridge/cli_data.cxx index c7c027691a08..e51c833714ae 100644 --- a/cli_ure/source/uno_bridge/cli_data.cxx +++ b/cli_ure/source/uno_bridge/cli_data.cxx @@ -18,7 +18,11 @@ */ #pragma warning(push, 1) +#if !defined WIN32_LEAN_AND_MEAN +# define WIN32_LEAN_AND_MEAN +#endif #include "windows.h" +#include <ole2.h> #pragma warning(pop) #include <memory> |