mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2026-05-06 19:29:06 +00:00
Support -Dtime_tz=time_t
* private.h (tz_time_t), NEWS: Move typedef earlier. (Problem reported by Bradley White.)
This commit is contained in:
2
NEWS
2
NEWS
@@ -34,6 +34,8 @@ Unreleased, experimental changes
|
||||
Fix integer overflow bug in reference 'mktime' implementation.
|
||||
(Problem reported by Jörg Richter.)
|
||||
|
||||
Allow -Dtime_tz=time_t compilations. (Problem reported by Bradley White.)
|
||||
|
||||
Changes affecting commentary
|
||||
|
||||
Cite the recent Mexican decree changing Quintana Roo's time zone.
|
||||
|
||||
@@ -308,6 +308,8 @@ typedef unsigned long uintmax_t;
|
||||
static time_t sys_time(time_t *x) { return time(x); }
|
||||
# endif
|
||||
|
||||
typedef time_tz tz_time_t;
|
||||
|
||||
# undef ctime
|
||||
# define ctime tz_ctime
|
||||
# undef ctime_r
|
||||
@@ -341,8 +343,6 @@ static time_t sys_time(time_t *x) { return time(x); }
|
||||
# undef timeoff
|
||||
# define timeoff tz_timeoff
|
||||
|
||||
typedef time_tz time_t;
|
||||
|
||||
char *ctime(time_t const *);
|
||||
char *ctime_r(time_t const *, char *);
|
||||
double difftime(time_t, time_t);
|
||||
|
||||
Reference in New Issue
Block a user