Avoid using GNU's gmt_offset

This commit is contained in:
pancake 2015-04-04 02:11:08 +02:00
parent 0e6c60fd4f
commit a378082ca7

View File

@ -77,7 +77,7 @@ R_API int r_print_date_get_now(RPrint *p, char *str) {
curt.tm_mday,
month_str[curt.tm_mon],
curt.tm_year + 1900, curt.tm_hour,
curt.tm_min, curt.tm_sec, curt.tm_gmtoff / (60*60));
curt.tm_min, curt.tm_sec, curt.tm_isdst);
ret = sizeof(time_t);
}
#else