diff options
author | Mike Kaganski <mike.kaganski@collabora.com> | 2017-09-15 19:45:21 +0300 |
---|---|---|
committer | Mike Kaganski <mike.kaganski@collabora.com> | 2017-09-16 20:16:15 +0200 |
commit | 3128668599744b4fd63c9eebbeb3e9e4533b66df (patch) | |
tree | d188de71faf111f1c8490c29226b1713a6d1677f /hwpfilter | |
parent | 8508e409a2cc1d38a347204d90f29cac153e8015 (diff) |
Use more WIN32_LEAN_AND_MEAN
https://msdn.microsoft.com/en-us/aa383745
Change-Id: I83528dc8e6a5e119e7aa816219d35f1ea3723b96
Reviewed-on: https://gerrit.libreoffice.org/42338
Tested-by: Jenkins <ci@libreoffice.org>
Reviewed-by: Mike Kaganski <mike.kaganski@collabora.com>
Diffstat (limited to 'hwpfilter')
-rw-r--r-- | hwpfilter/source/htags.h | 3 | ||||
-rw-r--r-- | hwpfilter/source/precompile.h | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/hwpfilter/source/htags.h b/hwpfilter/source/htags.h index e306373c6812..2bf52b66a96f 100644 --- a/hwpfilter/source/htags.h +++ b/hwpfilter/source/htags.h @@ -21,6 +21,9 @@ #define INCLUDED_HWPFILTER_SOURCE_HTAGS_H #include <memory> +#ifdef _WIN32 +# include <objidl.h> +#endif class HWPFile; /** diff --git a/hwpfilter/source/precompile.h b/hwpfilter/source/precompile.h index d10749cb1f47..218b9160edf6 100644 --- a/hwpfilter/source/precompile.h +++ b/hwpfilter/source/precompile.h @@ -21,6 +21,7 @@ #if defined _MSC_VER #pragma warning(push, 1) #endif + #define WIN32_LEAN_AND_MEAN #include "windows.h" #include "crtdbg.h" #if defined _MSC_VER |