mirror of
https://frontier.innolan.net/rainlance/amiga-tz.git
synced 2025-11-21 19:59:27 +00:00
boost TZ_MAX_TIMES
SCCS-file: tzfile.h SCCS-SID: 2.10
This commit is contained in:
committed by
Paul Eggert
parent
033564cf38
commit
6a1ebfe90e
12
tzfile.h
12
tzfile.h
@ -45,11 +45,13 @@ struct tzhead {
|
||||
*/
|
||||
|
||||
#ifndef TZ_MAX_TIMES
|
||||
#ifndef NOSOLAR
|
||||
#define TZ_MAX_TIMES 370 /* A bit more than a year's worth */
|
||||
#else /* !NOSOLAR */
|
||||
#define TZ_MAX_TIMES 300 /* Maximum number of transition times */
|
||||
#endif /* !NOSOLAR */
|
||||
/*
|
||||
** The TZ_MAX_TIMES value below is enough to handle a bit more than a
|
||||
** year's worth of solar time (corrected daily to the nearest second) or
|
||||
** 138 years of Pacific Presidential Election time
|
||||
** (where there are three time zone transitions every fourth year).
|
||||
*/
|
||||
#define TZ_MAX_TIMES 370
|
||||
#endif /* !TZ_MAX_TIMES */
|
||||
|
||||
#ifndef TZ_MAX_TYPES
|
||||
|
||||
Reference in New Issue
Block a user