From fc1783fcc60339f399edded91b63dd2ee617b45d Mon Sep 17 00:00:00 2001 From: Richard Berger Date: Mon, 3 Jan 2022 18:29:29 -0500 Subject: [PATCH] Avoid undefined symbols with mingw-w64 (#2692) Fixes issue #2691 --- include/fmt/chrono.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/fmt/chrono.h b/include/fmt/chrono.h index 31fee070..908999ab 100644 --- a/include/fmt/chrono.h +++ b/include/fmt/chrono.h @@ -1082,7 +1082,7 @@ template class tm_writer { } template ::value)> void format_utc_offset_impl(const T& tm) { -#if defined(_WIN32) +#if defined(_WIN32) && defined(_UCRT) # if FMT_USE_TZSET tzset_once(); # endif