diff options
author | Eli Zaretskii <eliz@gnu.org> | 2011-10-22 11:17:01 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2011-10-22 11:17:01 +0200 |
commit | 804a4315bdae38f866623b93635c6568f66ba69e (patch) | |
tree | 63743618eb444681cf2b4c3e6834fe734fe3c582 /nt | |
parent | a70e06c1173495696681f3230a4e98ee8ae8a82b (diff) | |
download | emacs-804a4315bdae38f866623b93635c6568f66ba69e.tar.gz |
Fix bugs #641 and #9794 with %Z and current-time-zone on w32.
nt/config.nt (HAVE_TZNAME, HAVE_DECL_TZNAME): Define.
Diffstat (limited to 'nt')
-rw-r--r-- | nt/ChangeLog | 5 | ||||
-rw-r--r-- | nt/config.nt | 9 |
2 files changed, 13 insertions, 1 deletions
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 <eliz@gnu.org> + + * config.nt (HAVE_TZNAME, HAVE_DECL_TZNAME): Define. + (Bug#9794) (Bug#641) + 2011-09-04 Paul Eggert <eggert@cs.ucla.edu> * 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 <http://www.gnu.org/licenses/>. */ #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 |