WIN32: Fix build after the addition of SHGetFolderPath()

This commit is contained in:
Filippos Karapetis 2018-12-16 19:50:05 +02:00
parent 5e735d74a9
commit 54159276c7
2 changed files with 6 additions and 10 deletions

View file

@ -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,