SaveDataDialogLib: fix compile with mingw

This commit is contained in:
Vinicius Rangel 2024-10-05 17:59:01 -03:00
parent 67f9bd4822
commit 286b6e7f01
No known key found for this signature in database
GPG Key ID: A5B154D904B761D9

View File

@ -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);