diff options
Diffstat (limited to 'wcsmbs/wchar.h')
-rw-r--r-- | wcsmbs/wchar.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/wcsmbs/wchar.h b/wcsmbs/wchar.h index be27dbc..19e6d87 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 |