Blame SOURCES/glibc-rh1505492-undef-mktime.patch

25845f
Fix -Wundef warnings.  Part of this upstream commit:
25845f
25845f
commit dd0ba018122e88937a5f14b6594b9a40693b2e58
25845f
Author: Paul Eggert <eggert@cs.ucla.edu>
25845f
Date:   Sat Jun 28 06:15:54 2014 +0530
25845f
25845f
    Sync up mktime with gnulib
25845f
25845f
diff --git a/time/mktime.c b/time/mktime.c
25845f
index e1fbf9ea197d3c8b..bc914d80593b91f2 100644
25845f
--- a/time/mktime.c
25845f
+++ b/time/mktime.c
25845f
@@ -38,7 +38,7 @@
25845f
 
25845f
 #include <string.h>		/* For the real memcpy prototype.  */
25845f
 
25845f
-#if DEBUG
25845f
+#if defined DEBUG && DEBUG
25845f
 # include <stdio.h>
25845f
 # include <stdlib.h>
25845f
 /* Make it work even if the system's libc has its own mktime routine.  */
25845f
@@ -600,7 +600,7 @@ libc_hidden_def (mktime)
25845f
 libc_hidden_weak (timelocal)
25845f
 #endif
25845f
 
25845f
-#if DEBUG
25845f
+#if defined DEBUG && DEBUG
25845f
 
25845f
 static int
25845f
 not_equal_tm (const struct tm *a, const struct tm *b)