diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2001-08-10 19:41:45 +0000 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2001-08-10 19:41:45 +0000 |
commit | ab7fabc1b31f335a652ec18ca0bde9aac9112094 (patch) | |
tree | e6e1fee69e6424fda23feefdddeaf6663b1cc990 /Modules/_localemodule.c | |
parent | d69b66b6c886517370c8fd3b0941c8b02b522685 (diff) | |
download | cpython-ab7fabc1b31f335a652ec18ca0bde9aac9112094.tar.gz |
_DATE_FMT does not always accompany CODESET.
Diffstat (limited to 'Modules/_localemodule.c')
-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 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 */ |