diff options
author | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-07-10 23:52:35 +0200 |
---|---|---|
committer | lat9nq <22451773+lat9nq@users.noreply.github.com> | 2023-07-10 23:52:35 +0200 |
commit | 833306bf5eeeb65d1b1fb68a17d84b077069b33d (patch) | |
tree | e2a9d0c7fdc60aee2de3f48a2534185d4b4b2eb3 | |
parent | time_zone: Remove string ops for determing zone (diff) | |
download | yuzu-833306bf5eeeb65d1b1fb68a17d84b077069b33d.tar yuzu-833306bf5eeeb65d1b1fb68a17d84b077069b33d.tar.gz yuzu-833306bf5eeeb65d1b1fb68a17d84b077069b33d.tar.bz2 yuzu-833306bf5eeeb65d1b1fb68a17d84b077069b33d.tar.lz yuzu-833306bf5eeeb65d1b1fb68a17d84b077069b33d.tar.xz yuzu-833306bf5eeeb65d1b1fb68a17d84b077069b33d.tar.zst yuzu-833306bf5eeeb65d1b1fb68a17d84b077069b33d.zip |
Diffstat (limited to '')
-rw-r--r-- | src/common/settings.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/settings.cpp b/src/common/settings.cpp index 5972480e5..d4e55f988 100644 --- a/src/common/settings.cpp +++ b/src/common/settings.cpp @@ -26,7 +26,8 @@ std::string GetTimeZoneString() { std::string location_name; if (time_zone_index == 0) { // Auto -#if __cpp_lib_chrono >= 201907L +#if __cpp_lib_chrono >= 201907L && !defined(MINGW) + // Disabled for MinGW -- tzdb always returns Etc/UTC try { const struct std::chrono::tzdb& time_zone_data = std::chrono::get_tzdb(); const std::chrono::time_zone* current_zone = time_zone_data.current_zone(); |