summaryrefslogtreecommitdiff
path: root/desktop/win32
diff options
context:
space:
mode:
authorMike Kaganski <mike.kaganski@collabora.com>2017-09-15 19:45:21 +0300
committerMike Kaganski <mike.kaganski@collabora.com>2017-09-16 20:16:15 +0200
commit3128668599744b4fd63c9eebbeb3e9e4533b66df (patch)
treed188de71faf111f1c8490c29226b1713a6d1677f /desktop/win32
parent8508e409a2cc1d38a347204d90f29cac153e8015 (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 'desktop/win32')
-rw-r--r--desktop/win32/source/applauncher/launcher.hxx1
-rw-r--r--desktop/win32/source/applauncher/launcher.rc1
-rw-r--r--desktop/win32/source/officeloader/officeloader.cxx1
3 files changed, 3 insertions, 0 deletions
diff --git a/desktop/win32/source/applauncher/launcher.hxx b/desktop/win32/source/applauncher/launcher.hxx
index fdd651042481..e28cc7466e43 100644
--- a/desktop/win32/source/applauncher/launcher.hxx
+++ b/desktop/win32/source/applauncher/launcher.hxx
@@ -19,6 +19,7 @@
#pragma once
+#define WIN32_LEAN_AND_MEAN
#include <windows.h>
extern WCHAR APPLICATION_SWITCH[];
diff --git a/desktop/win32/source/applauncher/launcher.rc b/desktop/win32/source/applauncher/launcher.rc
index f717bcba14a2..b76518d7a56a 100644
--- a/desktop/win32/source/applauncher/launcher.rc
+++ b/desktop/win32/source/applauncher/launcher.rc
@@ -16,6 +16,7 @@
* the License at http://www.apache.org/licenses/LICENSE-2.0 .
*/
+#define WIN32_LEAN_AND_MEAN
#include <windows.h>
#include "version.hrc"
diff --git a/desktop/win32/source/officeloader/officeloader.cxx b/desktop/win32/source/officeloader/officeloader.cxx
index c6987a72ec99..338a5fb8db96 100644
--- a/desktop/win32/source/officeloader/officeloader.cxx
+++ b/desktop/win32/source/officeloader/officeloader.cxx
@@ -20,6 +20,7 @@
#include <cstddef>
#include <systools/win32/uwinapi.h>
+#include <stdlib.h>
#include <desktop/exithelper.h>
#include "../loader.hxx"