From 54159276c79fb07b562859ebaa46ea7c31ddcd4f Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Sun, 16 Dec 2018 19:50:05 +0200 Subject: WIN32: Fix build after the addition of SHGetFolderPath() --- backends/platform/sdl/win32/win32_wrapper.cpp | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'backends/platform') diff --git a/backends/platform/sdl/win32/win32_wrapper.cpp b/backends/platform/sdl/win32/win32_wrapper.cpp index 6ad0f725ed..aa3a05fa48 100644 --- a/backends/platform/sdl/win32/win32_wrapper.cpp +++ b/backends/platform/sdl/win32/win32_wrapper.cpp @@ -20,16 +20,15 @@ * */ -#include "common/scummsys.h" -// We need certain functions that are excluded by default -#undef NONLS +#define WIN32_LEAN_AND_MEAN #include #if defined(__GNUC__) && defined(__MINGW32__) && !defined(__MINGW64_VERSION_MAJOR) -// required for SHGetSpecialFolderPath in shlobj.h + // required for SHGetSpecialFolderPath in shlobj.h #define _WIN32_IE 0x400 #endif #include +#include "common/scummsys.h" #include "backends/platform/sdl/win32/win32_wrapper.h" // VerSetConditionMask, VerifyVersionInfo and SHGetFolderPath didn't appear until Windows 2000, -- cgit v1.2.3