From 804a4315bdae38f866623b93635c6568f66ba69e Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 22 Oct 2011 11:17:01 +0200 Subject: [PATCH] Fix bugs #641 and #9794 with %Z and current-time-zone on w32. nt/config.nt (HAVE_TZNAME, HAVE_DECL_TZNAME): Define. --- nt/ChangeLog | 5 +++++ nt/config.nt | 9 ++++++++- 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/nt/ChangeLog b/nt/ChangeLog index 8c2ca056aa1..fb3a168ebfe 100644 --- a/nt/ChangeLog +++ b/nt/ChangeLog @@ -1,3 +1,8 @@ +2011-10-19 Eli Zaretskii + + * config.nt (HAVE_TZNAME, HAVE_DECL_TZNAME): Define. + (Bug#9794) (Bug#641) + 2011-09-04 Paul Eggert * config.nt (HAVE_SNPRINTF): New macro. diff --git a/nt/config.nt b/nt/config.nt index 923143cf13e..7ab89add0fc 100644 --- a/nt/config.nt +++ b/nt/config.nt @@ -187,7 +187,14 @@ along with GNU Emacs. If not, see . */ #undef TM_IN_SYS_TIME #undef HAVE_TM_ZONE -#undef HAVE_TZNAME + +/* Define to 1 if you don't have `tm_zone' but do have the external array + `tzname'. */ +#define HAVE_TZNAME 1 + +/* Define to 1 if you have the declaration of `tzname', and to 0 if you don't. + */ +#define HAVE_DECL_TZNAME 1 #undef const