Fix Wundef warning for HAVE_STRFTIME

Message ID 20140709110505.GU609@spoyarek.pnq.redhat.com
State Committed
Headers

Commit Message

Siddhesh Poyarekar July 9, 2014, 11:05 a.m. UTC
  Define HAVE_STRFTIME to 0.  strftime_l.c seems to have a gnulib copy
in lib/strftime.c, but it is woefully out of sync.

Siddhesh

	* time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.

---
 time/strftime_l.c | 1 +
 1 file changed, 1 insertion(+)
  

Comments

Roland McGrath July 9, 2014, 5:49 p.m. UTC | #1
OK
  

Patch

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"