Skip to content

Commit

Permalink
Avoid undefined symbols with mingw-w64
Browse files Browse the repository at this point in the history
Fixes issue fmtlib#2691
  • Loading branch information
rbberger committed Jan 3, 2022
1 parent 8e59744 commit 1cc8529
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/fmt/chrono.h
Original file line number Diff line number Diff line change
Expand Up @@ -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)>
void format_utc_offset_impl(const T& tm) {
#if defined(_WIN32)
#if defined(_WIN32) && defined(_UCRT)
# if FMT_USE_TZSET
tzset_once();
# endif
Expand Down

0 comments on commit 1cc8529

Please sign in to comment.