]> granicus.if.org Git - python/commitdiff
_DATE_FMT does not always accompany CODESET.
authorMartin v. Löwis <martin@v.loewis.de>
Fri, 10 Aug 2001 19:41:45 +0000 (19:41 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Fri, 10 Aug 2001 19:41:45 +0000 (19:41 +0000)
Modules/_localemodule.c

index 04cd87337f5ad71a28088dc854eb67e7c5a3b627..3f1105446300c050686ffa93a6b6fd37a06381ec 100644 (file)
@@ -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 */