From ec0b1dec9d085700dce9fdcc7d0a60ea3fc4ba51 Mon Sep 17 00:00:00 2001 From: Kirben Date: Mon, 24 Apr 2017 11:22:44 +1000 Subject: WINDOWS: Fix warning under mingw-w64. --- backends/platform/sdl/win32/win32.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'backends/platform') diff --git a/backends/platform/sdl/win32/win32.cpp b/backends/platform/sdl/win32/win32.cpp index f50059e165..073ad741bb 100644 --- a/backends/platform/sdl/win32/win32.cpp +++ b/backends/platform/sdl/win32/win32.cpp @@ -29,7 +29,10 @@ #include #undef ARRAYSIZE // winnt.h defines ARRAYSIZE, but we want our own one... #include -#define _WIN32_IE 0x500 // required for SHGFP_TYPE_CURRENT in shlobj.h +#if defined(__GNUC__) && defined(__MINGW32__) && !defined(__MINGW64_VERSION_MAJOR) +// required for SHGFP_TYPE_CURRENT in shlobj.h +#define _WIN32_IE 0x500 +#endif #include #include "common/scummsys.h" -- cgit v1.2.3