WIN32: Fix build after the addition of SHGetFolderPath()
This commit is contained in:
parent
5e735d74a9
commit
54159276c7
2 changed files with 6 additions and 10 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue