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 /sal/osl | |
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 'sal/osl')
-rw-r--r-- | sal/osl/w32/file-impl.hxx | 1 | ||||
-rw-r--r-- | sal/osl/w32/filetime.hxx | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/sal/osl/w32/file-impl.hxx b/sal/osl/w32/file-impl.hxx index a34e43301eb0..4db7b3eb257b 100644 --- a/sal/osl/w32/file-impl.hxx +++ b/sal/osl/w32/file-impl.hxx @@ -15,6 +15,7 @@ #include <osl/file.h> #include <sal/types.h> +#define WIN32_LEAN_AND_MEAN #include <windows.h> extern "C" oslFileHandle SAL_CALL osl_createFileHandleFromOSHandle( diff --git a/sal/osl/w32/filetime.hxx b/sal/osl/w32/filetime.hxx index 0f47ebf5e3fe..cb7dd5d3a31e 100644 --- a/sal/osl/w32/filetime.hxx +++ b/sal/osl/w32/filetime.hxx @@ -12,6 +12,7 @@ #include <sal/config.h> +#define WIN32_LEAN_AND_MEAN #include <windows.h> #include <osl/time.h> |