This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Fix Wundef warning for HAVE_STRFTIME


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(+)

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"
-- 
1.9.3

Attachment: pgpU5sHLsyVh1.pgp
Description: PGP signature


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]