diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2017-09-18 17:34:28 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2017-09-18 19:24:31 +0200 |
commit | aaa26a58ba0f14eab652e0ba7f8d8e66fa479582 (patch) | |
tree | 34299e87165aa7cc6c38c357b7e4deddaef76816 /include | |
parent | 3c1f44c91091205512098bb4f1d56333c20a1f8b (diff) |
Some more WIN32_LEAN_AND_MEAN
Change-Id: Iadb0ebb66809c192fb817b8c7cf2f8cdb4d0b874
Reviewed-on: https://gerrit.libreoffice.org/42419
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/LibreOfficeKit/LibreOfficeKitInit.h | 3 | ||||
-rw-r--r-- | include/comphelper/windowsStart.hxx | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/include/LibreOfficeKit/LibreOfficeKitInit.h b/include/LibreOfficeKit/LibreOfficeKitInit.h index 0c8e718d7208..1e34e608d6ba 100644 --- a/include/LibreOfficeKit/LibreOfficeKitInit.h +++ b/include/LibreOfficeKit/LibreOfficeKitInit.h @@ -76,6 +76,9 @@ extern "C" #else #pragma warning(disable:4996) + #if !defined WIN32_LEAN_AND_MEAN + #define WIN32_LEAN_AND_MEAN + #endif #include <windows.h> #define TARGET_LIB "sofficeapp" ".dll" #define TARGET_MERGED_LIB "mergedlo" ".dll" diff --git a/include/comphelper/windowsStart.hxx b/include/comphelper/windowsStart.hxx index 09a9108811fb..90e1ff1bb0da 100644 --- a/include/comphelper/windowsStart.hxx +++ b/include/comphelper/windowsStart.hxx @@ -7,6 +7,9 @@ #define INCLUDED_COMPHELPER_WINSTART_HXX #ifdef _WIN32 +#if !defined WIN32_LEAN_AND_MEAN +# define WIN32_LEAN_AND_MEAN +#endif #include <windows.h> #endif |