aboutsummaryrefslogtreecommitdiff
path: root/include/tzfile.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/tzfile.h')
-rw-r--r--include/tzfile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/tzfile.h b/include/tzfile.h
index 43f5642acf3b..30113efc6305 100644
--- a/include/tzfile.h
+++ b/include/tzfile.h
@@ -85,6 +85,7 @@ struct tzhead {
** exceed any of the limits below.
*/
+#ifndef TZ_MAX_TIMES
/*
** 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
@@ -92,8 +93,7 @@ struct tzhead {
** (where there are three time zone transitions every fourth year).
*/
#define TZ_MAX_TIMES 370
-
-#define NOSOLAR /* 4BSD doesn't currently handle solar time */
+#endif /* TZ_MAX_TIMES */
#ifndef NOSOLAR
#define TZ_MAX_TYPES 256 /* Limited by what (unsigned char)'s can hold */