[tz] [PATCH] * private.h, zdump.c (TZ_DOMAIN): Look at HAVE_GETTEXT,
Paul Eggert
eggert at CS.UCLA.EDU
Thu Jun 26 22:19:00 UTC 2014
not TZ_DOMAINDIR, when deciding whether to define. This fixes a
recently-introduced typo. Found by compiling with -DHAVE_GETTEXT
under GNU/Linux.
---
private.h | 2 +-
zdump.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/private.h b/private.h
index e65aaad..ad22b9a 100644
--- a/private.h
+++ b/private.h
@@ -372,7 +372,7 @@ static time_t const time_t_max =
#endif /* !HAVE_GETTEXT */
#endif /* !defined _ */
-#if !defined TZ_DOMAIN && defined TZ_DOMAINDIR
+#if !defined TZ_DOMAIN && defined HAVE_GETTEXT
# define TZ_DOMAIN "tz"
#endif
diff --git a/zdump.c b/zdump.c
index bde827a..0a661d5 100644
--- a/zdump.c
+++ b/zdump.c
@@ -183,7 +183,7 @@ enum { SECSPER400YEARS_FITS = SECSPERLYEAR <= INTMAX_MAX / 400 };
#endif /* !HAVE_GETTEXT */
#endif /* !defined _ */
-#if !defined TZ_DOMAIN && defined TZ_DOMAINDIR
+#if !defined TZ_DOMAIN && defined HAVE_GETTEXT
# define TZ_DOMAIN "tz"
#endif
--
1.9.1
More information about the tz
mailing list