From 1cc8529201af02118a820caead62324640c23bb6 Mon Sep 17 00:00:00 2001 From: Richard Berger Date: Mon, 3 Jan 2022 15:54:45 -0500 Subject: [PATCH] Avoid undefined symbols with mingw-w64 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 31fee070afd9..908999ab5f5d 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