added check for tm->__tm_gmtoff and tm->__tm_zone.

changed sys::strftime() to set tm_zone to GMT if sys::STRFTIME_UTC is set
This commit is contained in:
2019-07-01 15:02:43 +00:00
parent 4257ef5296
commit 43cfbd6bdf
5 changed files with 63 additions and 0 deletions

View File

@ -601,6 +601,15 @@
/* Define to 1 if `tm_gmtoff' is a member of `struct tm'. */
#undef HAVE_STRUCT_TM_TM_GMTOFF
/* Define to 1 if `tm_zone' is a member of `struct tm'. */
#undef HAVE_STRUCT_TM_TM_ZONE
/* Define to 1 if `__tm_gmtoff' is a member of `struct tm'. */
#undef HAVE_STRUCT_TM___TM_GMTOFF
/* Define to 1 if `__tm_zone' is a member of `struct tm'. */
#undef HAVE_STRUCT_TM___TM_ZONE
/* Define to 1 if you have the `swapcontext' function. */
#undef HAVE_SWAPCONTEXT