From f3b00363042bd97ec1adebc976ef4012d93142f1 Mon Sep 17 00:00:00 2001 From: Danny Smith Date: Wed, 4 May 2005 09:29:09 +0000 Subject: * include/wchar.h (WCHAR_MAX): Define as 0xffff, so preprocessor #if (WCHAR_MAX <= WCHAR_MIN) is false. * include/stdint.h (WCHAR_MAX): Likwise. (WINT_MAX): Likewise. --- winsup/mingw/include/wchar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/mingw/include/wchar.h') diff --git a/winsup/mingw/include/wchar.h b/winsup/mingw/include/wchar.h index 54dc17f..2f5c6a9 100644 --- a/winsup/mingw/include/wchar.h +++ b/winsup/mingw/include/wchar.h @@ -51,7 +51,7 @@ #endif /* __STRICT_ANSI__ */ #define WCHAR_MIN 0 -#define WCHAR_MAX ((wchar_t)-1) +#define WCHAR_MAX 0xffff #ifndef WEOF #define WEOF (wchar_t)(0xFFFF) -- cgit v1.1