Project

General

Profile

Feature #17845 » ruby-date-mingw32-ucrt-timezone.patch

xtkoba (Tee KOBAYASHI), 06/13/2021 06:22 PM

View differences:

ext/date/date_core.c
s = 59;
#ifdef HAVE_STRUCT_TM_TM_GMTOFF
of = tm.tm_gmtoff;
#elif defined(HAVE_TIMEZONE)
#elif defined(HAVE_TIMEZONE) && !(defined __MINGW32__ && defined _UCRT)
#ifdef HAVE_ALTZONE
of = (long)-((tm.tm_isdst > 0) ? altzone : timezone);
#else
(5-5/5)