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 /vcl/win | |
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 'vcl/win')
-rw-r--r-- | vcl/win/gdi/salprn.cxx | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vcl/win/gdi/salprn.cxx b/vcl/win/gdi/salprn.cxx index f9b11d46b39c..365bf44c06e4 100644 --- a/vcl/win/gdi/salprn.cxx +++ b/vcl/win/gdi/salprn.cxx @@ -49,6 +49,14 @@ #include <malloc.h> +#include <winspool.h> +#if defined GetDefaultPrinter +# undef GetDefaultPrinter +#endif +#if defined SetPrinterData +# undef SetPrinterData +#endif + #define CATCH_DRIVER_EX_BEGIN \ __try \ { |