summary refs log tree commit diff
path: root/wcsmbs
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-09-10 19:43:01 +0000
committerUlrich Drepper <drepper@redhat.com>1999-09-10 19:43:01 +0000
commit6833780818c60b3f3a0a120f711369bb8158a0d5 (patch)
tree4fc7e61a6a38a01c9043fef489571045c814a743 /wcsmbs
parentec6275c0b7df29a34fd3beb7e29bc44fd63b8585 (diff)
downloadglibc-6833780818c60b3f3a0a120f711369bb8158a0d5.tar.gz
glibc-6833780818c60b3f3a0a120f711369bb8158a0d5.tar.xz
glibc-6833780818c60b3f3a0a120f711369bb8158a0d5.zip
Update.
1999-09-10  Ulrich Drepper  <drepper@cygnus.com>

	* wcsmbs/wchar.h (WCHAR_MIN, WCHAR_MAX): Use all-numeric values.

	* sysdeps/generic/stdint.h: Correct WCHAR_MIN, WCHAR_MAX, and
	WINT_MAX values.

	* wctype/wctype.h: Remove incorrect towlower/towupper optimizations.

1999-09-09  Andreas Schwab  <schwab@suse.de>

	* elf/link.h: Fix comment.

1999-09-10  Ulrich Drepper  <drepper@cygnus.com>

	* math/bits/mathcalls.h: Add __isnan declaration [PR libc/1294].

	* math/math.h: Pretty print.
Diffstat (limited to 'wcsmbs')
-rw-r--r--wcsmbs/wchar.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/wcsmbs/wchar.h b/wcsmbs/wchar.h
index be27dbc622..19e6d877be 100644
--- a/wcsmbs/wchar.h
+++ b/wcsmbs/wchar.h
@@ -77,8 +77,8 @@ typedef __mbstate_t mbstate_t;
 
 #ifndef WCHAR_MIN
 /* These constants might also be defined in <inttypes.h>.  */
-# define WCHAR_MIN ((wchar_t) 0)
-# define WCHAR_MAX (~WCHAR_MIN)
+# define WCHAR_MIN (0)
+# define WCHAR_MAX (0x7fffffff)
 #endif
 
 #ifndef WEOF