diff options
author | Filippos Karapetis | 2018-12-16 19:50:05 +0200 |
---|---|---|
committer | Filippos Karapetis | 2018-12-16 19:50:05 +0200 |
commit | 54159276c79fb07b562859ebaa46ea7c31ddcd4f (patch) | |
tree | 5cfaca86de7e11c4f36de77570ea7cb9457b638e /backends/platform/sdl | |
parent | 5e735d74a99f7f58561e2eead7dd63938cb6217f (diff) | |
download | scummvm-rg350-54159276c79fb07b562859ebaa46ea7c31ddcd4f.tar.gz scummvm-rg350-54159276c79fb07b562859ebaa46ea7c31ddcd4f.tar.bz2 scummvm-rg350-54159276c79fb07b562859ebaa46ea7c31ddcd4f.zip |
WIN32: Fix build after the addition of SHGetFolderPath()
Diffstat (limited to 'backends/platform/sdl')
-rw-r--r-- | backends/platform/sdl/win32/win32_wrapper.cpp | 7 |
1 files changed, 3 insertions, 4 deletions
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 <windows.h> #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 <shlobj.h> +#include "common/scummsys.h" #include "backends/platform/sdl/win32/win32_wrapper.h" // VerSetConditionMask, VerifyVersionInfo and SHGetFolderPath didn't appear until Windows 2000, |