aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSiddhesh Poyarekar <siddhesh@redhat.com>2014-07-10 14:20:42 +0530
committerSiddhesh Poyarekar <siddhesh@redhat.com>2014-07-10 14:20:42 +0530
commitd22f1fe2f369a273533e50d757c4590adf147ef1 (patch)
treee32b795686a1f1ccf01654876d6a0869fd07cc48
parent12f2254b815056bb897a25a0c6dee0122aef52ac (diff)
downloadglibc-d22f1fe2f369a273533e50d757c4590adf147ef1.zip
glibc-d22f1fe2f369a273533e50d757c4590adf147ef1.tar.gz
glibc-d22f1fe2f369a273533e50d757c4590adf147ef1.tar.bz2
Fix Wundef warning for HAVE_STRFTIME
Define it to 0
-rw-r--r--ChangeLog2
-rw-r--r--time/strftime_l.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 673f0af..363564d 100644
--- 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.
diff --git a/time/strftime_l.c b/time/strftime_l.c
index dfb7b4c..869e0b9 100644
--- a/time/strftime_l.c
+++ b/time/strftime_l.c
@@ -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"