diff options
-rw-r--r-- | Modules/_localemodule.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/_localemodule.c b/Modules/_localemodule.c index 04cd873..3f11054 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 */ |