diff options
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__ |