diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2017-09-17 23:30:37 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2017-09-18 01:13:30 +0200 |
commit | afeff9102c2935139de4efd40fd2286dce396706 (patch) | |
tree | 6eddd462cb8d14f3a40f63d1fa4c4f7ed8d4bd2a /winaccessibility | |
parent | 164f6ba4e2501ef87639aa4d07699bbf58bdaac0 (diff) |
Use even more WIN32_LEAN_AND_MEAN
Change-Id: I538fe5b41156366e0e87b3a93e58a3947afd18f5
Reviewed-on: https://gerrit.libreoffice.org/42398
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'winaccessibility')
-rw-r--r-- | winaccessibility/inc/AccObject.hxx | 5 | ||||
-rw-r--r-- | winaccessibility/inc/AccObjectWinManager.hxx | 3 | ||||
-rw-r--r-- | winaccessibility/source/UAccCOM/stdafx.h | 3 |
3 files changed, 10 insertions, 1 deletions
diff --git a/winaccessibility/inc/AccObject.hxx b/winaccessibility/inc/AccObject.hxx index 89ae14b5e011..74c5ac129c1a 100644 --- a/winaccessibility/inc/AccObject.hxx +++ b/winaccessibility/inc/AccObject.hxx @@ -22,8 +22,11 @@ #include <vector> #include <map> -#include <oleacc.h> +#if !defined WIN32_LEAN_AND_MEAN +# define WIN32_LEAN_AND_MEAN +#endif #include <windows.h> +#include <oleacc.h> #include <rtl/ref.hxx> diff --git a/winaccessibility/inc/AccObjectWinManager.hxx b/winaccessibility/inc/AccObjectWinManager.hxx index df90cc80b993..259aebf6adb8 100644 --- a/winaccessibility/inc/AccObjectWinManager.hxx +++ b/winaccessibility/inc/AccObjectWinManager.hxx @@ -22,6 +22,9 @@ #include <com/sun/star/accessibility/XAccessible.hpp> #include <map> +#if !defined WIN32_LEAN_AND_MEAN +# define WIN32_LEAN_AND_MEAN +#endif #include <windows.h> #include <rtl/ref.hxx> #include "ResIDGenerator.hxx" diff --git a/winaccessibility/source/UAccCOM/stdafx.h b/winaccessibility/source/UAccCOM/stdafx.h index 12bf35a524d4..e25bfe98c450 100644 --- a/winaccessibility/source/UAccCOM/stdafx.h +++ b/winaccessibility/source/UAccCOM/stdafx.h @@ -31,6 +31,9 @@ #define _ATL_APARTMENT_THREADED #include <prewin.h> +#if !defined WIN32_LEAN_AND_MEAN +# define WIN32_LEAN_AND_MEAN +#endif #include <windows.h> #if defined __clang__ |