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

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