diff options
author | Kirben | 2017-04-24 11:22:44 +1000 |
---|---|---|
committer | Kirben | 2017-04-24 11:22:44 +1000 |
commit | ec0b1dec9d085700dce9fdcc7d0a60ea3fc4ba51 (patch) | |
tree | f474b05c6d608a090eeea108bec748bdc037b1a4 /backends/platform/sdl | |
parent | b46a1b688d65c94ec7631eba861ea1ed1600dd20 (diff) | |
download | scummvm-rg350-ec0b1dec9d085700dce9fdcc7d0a60ea3fc4ba51.tar.gz scummvm-rg350-ec0b1dec9d085700dce9fdcc7d0a60ea3fc4ba51.tar.bz2 scummvm-rg350-ec0b1dec9d085700dce9fdcc7d0a60ea3fc4ba51.zip |
WINDOWS: Fix warning under mingw-w64.
Diffstat (limited to 'backends/platform/sdl')
-rw-r--r-- | backends/platform/sdl/win32/win32.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
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 <windows.h> #undef ARRAYSIZE // winnt.h defines ARRAYSIZE, but we want our own one... #include <shellapi.h> -#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 <shlobj.h> #include "common/scummsys.h" |