about summary refs log tree commit diff
path: root/locale/langinfo.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-05-21 20:32:42 +0000
committerUlrich Drepper <drepper@redhat.com>2000-05-21 20:32:42 +0000
commit3446e2c39b5ccb2bed611326df621fa37340f7d2 (patch)
treecf8cab74a2345501b97f2eb1388d829c60f99865 /locale/langinfo.h
parent70a1a46550662dd69b6cceabf00ccafff96f606d (diff)
downloadglibc-3446e2c39b5ccb2bed611326df621fa37340f7d2.tar.gz
glibc-3446e2c39b5ccb2bed611326df621fa37340f7d2.tar.xz
glibc-3446e2c39b5ccb2bed611326df621fa37340f7d2.zip
Update.
	* locale/langinfo.h: Remove _NL_MONETARY prefix from descriptors for
	new standard elements.
	* locale/categories.def: Adjust accordingly.
Diffstat (limited to 'locale/langinfo.h')
-rw-r--r--locale/langinfo.h30
1 files changed, 24 insertions, 6 deletions
diff --git a/locale/langinfo.h b/locale/langinfo.h
index 7203c5d5ee..7d1183434a 100644
--- a/locale/langinfo.h
+++ b/locale/langinfo.h
@@ -386,12 +386,30 @@ enum
 #ifdef __USE_XOPEN
 # define CRNCYSTR		__CRNCYSTR
 #endif
-  _NL_MONETARY_INT_P_CS_PRECEDES,
-  _NL_MONETARY_INT_P_SEP_BY_SPACE,
-  _NL_MONETARY_INT_N_CS_PRECEDES,
-  _NL_MONETARY_INT_N_SEP_BY_SPACE,
-  _NL_MONETARY_INT_P_SIGN_POSN,
-  _NL_MONETARY_INT_N_SIGN_POSN,
+  __INT_P_CS_PRECEDES,
+#ifdef __USE_GNU
+# define INT_P_CS_PRECEDES	__INT_P_CS_PRECEDES
+#endif
+  __INT_P_SEP_BY_SPACE,
+#ifdef __USE_GNU
+# define INT_P_SEP_BY_SPACE	__INT_P_SEP_BY_SPACE
+#endif
+  __INT_N_CS_PRECEDES,
+#ifdef __USE_GNU
+# define INT_N_CS_PRECEDES	__INT_N_CS_PRECEDES
+#endif
+  __INT_N_SEP_BY_SPACE,
+#ifdef __USE_GNU
+# define INT_N_SEP_BY_SPACE	__INT_N_SEP_BY_SPACE
+#endif
+  __INT_P_SIGN_POSN,
+#ifdef __USE_GNU
+# define INT_P_SIGN_POSN	__INT_P_SIGN_POSN
+#endif
+  __INT_N_SIGN_POSN,
+#ifdef __USE_GNU
+# define INT_N_SIGN_POSN	__INT_N_SIGN_POSN
+#endif
   _NL_MONETARY_DUO_INT_CURR_SYMBOL,
   _NL_MONETARY_DUO_CURRENCY_SYMBOL,
   _NL_MONETARY_DUO_INT_FRAC_DIGITS,