From ab7fabc1b31f335a652ec18ca0bde9aac9112094 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Fri, 10 Aug 2001 19:41:45 +0000 Subject: _DATE_FMT does not always accompany CODESET. --- Modules/_localemodule.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Modules/_localemodule.c') diff --git a/Modules/_localemodule.c b/Modules/_localemodule.c index 04cd87337f..3f11054463 100644 --- a/Modules/_localemodule.c +++ b/Modules/_localemodule.c @@ -555,6 +555,9 @@ init_locale(void) ADDINT(ALT_DIGITS); ADDINT(YESEXPR); ADDINT(NOEXPR); +#endif +#ifdef _DATE_FMT + /* This is not available in all glibc versions that have CODESET. */ ADDINT(_DATE_FMT); #endif #endif /* HAVE_LANGINFO_H */ -- cgit v1.2.1