From d22f1fe2f369a273533e50d757c4590adf147ef1 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Thu, 10 Jul 2014 14:20:42 +0530 Subject: [PATCH] Fix Wundef warning for HAVE_STRFTIME Define it to 0 --- ChangeLog | 2 ++ time/strftime_l.c | 1 + 2 files changed, 3 insertions(+) diff --git a/ChangeLog b/ChangeLog index 673f0af..363564d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2014-07-10 Siddhesh Poyarekar + * 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" -- 2.7.4