Skip to content

Commit

Permalink
maybe fix R 4.1
Browse files Browse the repository at this point in the history
  • Loading branch information
paleolimbot committed Jun 7, 2024
1 parent 5d5e69f commit 1d41b4c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ namespace cctz {

namespace {

#if defined(_WIN32) || defined(_WIN64)
#if (defined(_WIN32) || defined(_WIN64)) && defined(_UCRT)
// Uses the globals: '_timezone', '_dstbias' and '_tzname'.
auto tm_gmtoff(const std::tm& tm) -> decltype(_timezone + _dstbias) {
const bool is_dst = tm.tm_isdst > 0;
Expand Down

0 comments on commit 1d41b4c

Please sign in to comment.