mirror of
https://github.com/vcmi/vcmi.git
synced 2025-11-29 23:07:48 +02:00
[c::b] update prejects, fix build
This commit is contained in:
@@ -26,6 +26,14 @@ void IVCMIDirs::init()
|
||||
|
||||
#ifdef VCMI_WINDOWS
|
||||
|
||||
#ifdef __MINGW32__
|
||||
#define _WIN32_IE 0x0500
|
||||
|
||||
#ifndef CSIDL_MYDOCUMENTS
|
||||
#define CSIDL_MYDOCUMENTS CSIDL_PERSONAL
|
||||
#endif
|
||||
#endif // __MINGW32__
|
||||
|
||||
#include <Windows.h>
|
||||
#include <Shlobj.h>
|
||||
#include <Shellapi.h>
|
||||
@@ -573,4 +581,4 @@ namespace VCMIDirs
|
||||
}
|
||||
return singleton;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user