1486 |
tm->tm_min = min; |
tm->tm_min = min; |
1487 |
tm->tm_sec = sec; |
tm->tm_sec = sec; |
1488 |
|
|
1489 |
#ifdef HAVE_TM_ISDST |
#ifdef HAVE_STRUCT_TM_TM_ISDST |
1490 |
tm->tm_isdst = -1; /* unknown whether it's dst or not */ |
tm->tm_isdst = -1; /* unknown whether it's dst or not */ |
1491 |
#endif |
#endif |
1492 |
#ifdef HAVE_TM_GMTOFF |
#ifdef HAVE_STRUCT_TM_TM_GMTOFF |
1493 |
tm->tm_gmtoff = tzoffset; |
tm->tm_gmtoff = tzoffset; |
1494 |
#endif |
#endif |
1495 |
#ifdef HAVE_TM_ZONE |
#ifdef HAVE_STRUCT_TM_TM_ZONE |
1496 |
tm->tm_zone = tz_name; |
tm->tm_zone = tz_name; |
1497 |
#endif |
#endif |
1498 |
} |
} |