]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(WCHAR_MIN, WCHAR_MAX): use all-numeric values.
authorUlrich Drepper <drepper@redhat.com>
Fri, 10 Sep 1999 19:39:13 +0000 (19:39 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 10 Sep 1999 19:39:13 +0000 (19:39 +0000)
wcsmbs/wchar.h

index fddb3d626c9bd01bd11eef6986989292b3a265d3..95480e9936c854e904544ed381637a1c586ba03b 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1995, 1996, 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1995, 1996, 1997, 1998, 1999 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -58,8 +58,8 @@ typedef struct
 
 #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