mirror of
https://github.com/goatcorp/Dalamud.git
synced 2025-12-12 10:17:22 +01:00
Don't check CRT version on wine
This commit is contained in:
parent
4eb49fd449
commit
6c1e538da5
1 changed files with 5 additions and 0 deletions
|
|
@ -14,6 +14,11 @@ HMODULE g_hModule;
|
|||
HINSTANCE g_hGameInstance = GetModuleHandleW(nullptr);
|
||||
|
||||
void CheckMsvcrtVersion() {
|
||||
if (utils::is_running_on_wine()) {
|
||||
logging::I("Running on Wine, skipping MSVCRT version check.");
|
||||
return;
|
||||
}
|
||||
|
||||
constexpr WORD RequiredMsvcrtVersionComponents[] = {14, 40, 33816, 0};
|
||||
constexpr auto RequiredMsvcrtVersion = 0ULL
|
||||
| (static_cast<uint64_t>(RequiredMsvcrtVersionComponents[0]) << 48)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue