From: Siddhesh Poyarekar Date: Thu, 10 Jul 2014 08:50:42 +0000 (+0530) Subject: Fix Wundef warning for HAVE_STRFTIME X-Git-Tag: upstream/2.30~7113 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d22f1fe2f369a273533e50d757c4590adf147ef1;p=external%2Fglibc.git Fix Wundef warning for HAVE_STRFTIME Define it to 0 --- 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"