about summary refs log tree commit diff
path: root/locale/locale.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2000-09-01 06:39:10 +0000
committerUlrich Drepper <drepper@redhat.com>2000-09-01 06:39:10 +0000
commit417bafec1e0be945a745cb5f1ba95ac30524af21 (patch)
treefe5862a93c403c604880c59e714bfb42ffe7be7c /locale/locale.h
parent7921bb7220e9d70610d27af59c6af68fecedbdcf (diff)
downloadglibc-417bafec1e0be945a745cb5f1ba95ac30524af21.tar.gz
glibc-417bafec1e0be945a745cb5f1ba95ac30524af21.tar.xz
glibc-417bafec1e0be945a745cb5f1ba95ac30524af21.zip
Update.
	* stdlib/Makefile (headers): Add bits/wchar.h.
	* sysdeps/unix/sysv/linux/i386/bits/wchar.h: New file.
	* sysdeps/generic/bits/wchar.h: New file.
	* sysdeps/generic/stdint.h: Include <bits/wchar.h>.  Use values in this
	file to define WCHAR_MIN and WCHAR_MAX.
	Change UINT*8_MAX and UIN*16_MAX value to type int.
	* wcsmbs/wchar.h: Include <bits/wchar.h>.  Use values in this
	file to define WCHAR_MIN and WCHAR_MAX.
	* sysdeps/alpha/fpu/bits/mathdef.h: Make FP_ILOGB0 and FP_ILOGBNAN
	int values.
	* sysdeps/arm/fpu/bits/mathdef.h: Likewise.
	* sysdeps/generic/bits/mathdef.h: Likewise.
	* sysdeps/i386/fpu/bits/mathdef.h: Likewise.
	* sysdeps/m68k/fpu/bits/mathdef.h: Likewise.
	* sysdeps/powerpc/fpu/bits/mathdef.h: Likewise.
	* sysdeps/sparc/fpu/bits/mathdef.h: Likewise.
	* locale/locale.h (struct lconv): Add __ prefix to the new members
	if not C99.
	* sysdeps/generic/inttypes.h: Remove unnecessary imaxabs and
	imaxdiv optimizations.
	* sysdeps/wordsize-32/lldiv.c: Add hack to make alias work.
	* sysdeps/wordsize-64/ldiv.c: Likewise.
	* sysdeps/alpha/fpu/bits/fenv.h: Change type of FE_*_ENV macros to
	const fenv_t*.
	* sysdeps/generic/bits/fenv.h: Likewise.
	* sysdeps/i386/fpu/bits/fenv.h: Likewise.
	* sysdeps/ia64/bits/fenv.h: Likewise.
	* sysdeps/m68k/fpu/bits/fenv.h: Likewise.
	* sysdeps/mips/bits/fenv.h: Likewise.
	* sysdeps/s390/fpu/bits/fenv.h: Likewise.
	* sysdeps/sparc/fpu/bits/fenv.h: Likewise.
	Reported by Joseph S. Myers <jsm28@cam.ac.uk>.

	* catgets/open_catalog.c: Likewise.
Diffstat (limited to 'locale/locale.h')
-rw-r--r--locale/locale.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/locale/locale.h b/locale/locale.h
index 768d2b6b98..0fabedc9cc 100644
--- a/locale/locale.h
+++ b/locale/locale.h
@@ -90,6 +90,7 @@ struct lconv
      4 The sign string immediately follows the currency_symbol.  */
   char p_sign_posn;
   char n_sign_posn;
+#ifdef __USE_ISOC99
   /* 1 if int_curr_symbol precedes a positive value, 0 if succeeds.  */
   char int_p_cs_precedes;
   /* 1 iff a space separates int_curr_symbol from a positive value.  */
@@ -106,6 +107,14 @@ struct lconv
      4 The sign string immediately follows the int_curr_symbol.  */
   char int_p_sign_posn;
   char int_n_sign_posn;
+#else
+  char __int_p_cs_precedes;
+  char __int_p_sep_by_space;
+  char __int_n_cs_precedes;
+  char __int_n_sep_by_space;
+  char __int_p_sign_posn;
+  char __int_n_sign_posn;
+#endif
 };