summaryrefslogtreecommitdiffstats
path: root/Modules/_localemodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'Modules/_localemodule.c')
-rw-r--r--Modules/_localemodule.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/Modules/_localemodule.c b/Modules/_localemodule.c
index 3f11054..7f7bdd2 100644
--- a/Modules/_localemodule.c
+++ b/Modules/_localemodule.c
@@ -527,6 +527,8 @@ init_locale(void)
ADDINT(ABMON_11);
ADDINT(ABMON_12);
+#ifdef RADIXCHAR
+ /* The following are not available with glibc 2.0 */
ADDINT(RADIXCHAR);
ADDINT(THOUSEP);
/* YESSTR and NOSTR are deprecated in glibc, since they are
@@ -537,6 +539,7 @@ init_locale(void)
ADDINT(NOSTR);
*/
ADDINT(CRNCYSTR);
+#endif
ADDINT(D_T_FMT);
ADDINT(D_FMT);