mirror of
https://github.com/shadps4-emu/shadPS4.git
synced 2025-08-04 08:22:32 +00:00
SaveDataDialogLib: fix compile with mingw
This commit is contained in:
parent
67f9bd4822
commit
286b6e7f01
@ -98,7 +98,7 @@ SaveDialogState::SaveDialogState(const OrbisSaveDataDialogParam& param) {
|
|||||||
param_sfo.Open(param_sfo_path);
|
param_sfo.Open(param_sfo_path);
|
||||||
|
|
||||||
auto last_write = param_sfo.GetLastWrite();
|
auto last_write = param_sfo.GetLastWrite();
|
||||||
#ifdef _WIN32
|
#if defined(_WIN32) && !defined(__GNUC__) && !defined(__MINGW32__) && !defined(__MINGW64__)
|
||||||
auto utc_time = std::chrono::file_clock::to_utc(last_write);
|
auto utc_time = std::chrono::file_clock::to_utc(last_write);
|
||||||
#else
|
#else
|
||||||
auto utc_time = std::chrono::file_clock::to_sys(last_write);
|
auto utc_time = std::chrono::file_clock::to_sys(last_write);
|
||||||
|
Loading…
Reference in New Issue
Block a user