diff options
author | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-07-10 14:20:42 +0530 |
---|---|---|
committer | Siddhesh Poyarekar <siddhesh@redhat.com> | 2014-07-10 14:20:42 +0530 |
commit | d22f1fe2f369a273533e50d757c4590adf147ef1 (patch) | |
tree | e32b795686a1f1ccf01654876d6a0869fd07cc48 | |
parent | 12f2254b815056bb897a25a0c6dee0122aef52ac (diff) | |
download | glibc-d22f1fe2f369a273533e50d757c4590adf147ef1.tar.gz glibc-d22f1fe2f369a273533e50d757c4590adf147ef1.tar.xz glibc-d22f1fe2f369a273533e50d757c4590adf147ef1.zip |
Fix Wundef warning for HAVE_STRFTIME
Define it to 0
-rw-r--r-- | ChangeLog | 2 | ||||
-rw-r--r-- | time/strftime_l.c | 1 |
2 files changed, 3 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog index 673f0af1a8..363564d947 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 dfb7b4c483..869e0b94cc 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" |