Unverified Commit fc1783fc authored by Richard Berger's avatar Richard Berger Committed by GitHub

Avoid undefined symbols with mingw-w64 (#2692)

Fixes issue #2691
parent 1b193e7b
...@@ -1082,7 +1082,7 @@ template <typename OutputIt, typename Char> class tm_writer { ...@@ -1082,7 +1082,7 @@ template <typename OutputIt, typename Char> class tm_writer {
} }
template <typename T, FMT_ENABLE_IF(!has_member_data_tm_gmtoff<T>::value)> template <typename T, FMT_ENABLE_IF(!has_member_data_tm_gmtoff<T>::value)>
void format_utc_offset_impl(const T& tm) { void format_utc_offset_impl(const T& tm) {
#if defined(_WIN32) #if defined(_WIN32) && defined(_UCRT)
# if FMT_USE_TZSET # if FMT_USE_TZSET
tzset_once(); tzset_once();
# endif # endif
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment