Skip to content

Commit

Permalink
Avoid undefined symbols with mingw-w64 (#2692)
Browse files Browse the repository at this point in the history
Fixes issue #2691
  • Loading branch information
rbberger authored Jan 3, 2022
1 parent 1b193e7 commit fc1783f
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 fc1783f

Please sign in to comment.