]> git.eshelyaron.com Git - emacs.git/commitdiff
Merge from gnulib, incorporating:
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 12 Jul 2014 20:02:44 +0000 (13:02 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 12 Jul 2014 20:02:44 +0000 (13:02 -0700)
2014-06-27 mktime: merge #if/#ifdef usage from glibc
* lib/mktime.c: Update from gnulib.

ChangeLog
lib/mktime.c

index 5e6822737f158f38b9841bffcef28b401dfc20be..f8852211e9acd4cd746269617855f6922b40fc08 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2014-07-12  Paul Eggert  <eggert@cs.ucla.edu>
 
+       Merge from gnulib, incorporating:
+       2014-06-27 mktime: merge #if/#ifdef usage from glibc
+       * lib/mktime.c: Update from gnulib.
+
        * Makefile.in (install-arch-indep): Avoid readdir race (Bug#17971).
 
 2014-07-10  Dmitry Antipov  <dmantipov@yandex.ru>
index 29438237760fa7067350dfc2270df52cad3da11c..48b3a40f9c73ee0c6f626f0278dba12ec86c4947 100644 (file)
@@ -38,7 +38,7 @@
 
 #include <string.h>            /* For the real memcpy prototype.  */
 
-#if DEBUG
+#if defined DEBUG && DEBUG
 # include <stdio.h>
 # include <stdlib.h>
 /* Make it work even if the system's libc has its own mktime routine.  */
@@ -600,7 +600,7 @@ libc_hidden_def (mktime)
 libc_hidden_weak (timelocal)
 #endif
 \f
-#if DEBUG
+#if defined DEBUG && DEBUG
 
 static int
 not_equal_tm (const struct tm *a, const struct tm *b)