Fix Wundef warning for HAVE_STRFTIME
authorSiddhesh Poyarekar <siddhesh@redhat.com>
Thu, 10 Jul 2014 08:50:42 +0000 (14:20 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Thu, 10 Jul 2014 08:50:42 +0000 (14:20 +0530)
Define it to 0

ChangeLog
time/strftime_l.c

index 673f0af..363564d 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,7 @@
 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
 
+       * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
+
        * io/ftw.c: Include sys/param.h unconditionally.
 
        * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
index dfb7b4c..869e0b9 100644 (file)
@@ -29,6 +29,7 @@
 # define HAVE_TM_ZONE 1
 # define HAVE_TZNAME 1
 # define HAVE_TZSET 1
+# define HAVE_STRFTIME 0
 # define MULTIBYTE_IS_FORMAT_SAFE 1
 # define STDC_HEADERS 1
 # include "../locale/localeinfo.h"