Fix bugs #641 and #9794 with %Z and current-time-zone on w32.
authorEli Zaretskii <eliz@gnu.org>
Sat, 22 Oct 2011 09:17:01 +0000 (11:17 +0200)
committerEli Zaretskii <eliz@gnu.org>
Sat, 22 Oct 2011 09:17:01 +0000 (11:17 +0200)
 nt/config.nt (HAVE_TZNAME, HAVE_DECL_TZNAME): Define.

nt/ChangeLog
nt/config.nt

index 8c2ca05..fb3a168 100644 (file)
@@ -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.
index 923143c..7ab89ad 100644 (file)
@@ -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