* 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.
This commit is contained in:
parent
530d0e0191
commit
f3b0036304
@ -1,3 +1,10 @@
|
|||||||
|
2005-05-04 Danny Smith <dannysmith@users.sourceforge.net>
|
||||||
|
|
||||||
|
* 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.
|
||||||
|
|
||||||
2005-05-03 Danny Smith <dannysmith@users.sourceforge.net>
|
2005-05-03 Danny Smith <dannysmith@users.sourceforge.net>
|
||||||
|
|
||||||
* mingwex/math/signbit.c (__signbit): Make return value
|
* mingwex/math/signbit.c (__signbit): Make return value
|
||||||
|
@ -137,14 +137,14 @@ typedef unsigned long long uintmax_t;
|
|||||||
|
|
||||||
#ifndef WCHAR_MIN /* also in wchar.h */
|
#ifndef WCHAR_MIN /* also in wchar.h */
|
||||||
#define WCHAR_MIN 0
|
#define WCHAR_MIN 0
|
||||||
#define WCHAR_MAX ((wchar_t)-1) /* UINT16_MAX */
|
#define WCHAR_MAX 0xffff /* UINT16_MAX */
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* wint_t is unsigned short for compatibility with MS runtime
|
* wint_t is unsigned short for compatibility with MS runtime
|
||||||
*/
|
*/
|
||||||
#define WINT_MIN 0
|
#define WINT_MIN 0
|
||||||
#define WINT_MAX ((wint_t)-1) /* UINT16_MAX */
|
#define WINT_MAX 0xffff /* UINT16_MAX */
|
||||||
|
|
||||||
#endif /* !defined ( __cplusplus) || defined __STDC_LIMIT_MACROS */
|
#endif /* !defined ( __cplusplus) || defined __STDC_LIMIT_MACROS */
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@
|
|||||||
#endif /* __STRICT_ANSI__ */
|
#endif /* __STRICT_ANSI__ */
|
||||||
|
|
||||||
#define WCHAR_MIN 0
|
#define WCHAR_MIN 0
|
||||||
#define WCHAR_MAX ((wchar_t)-1)
|
#define WCHAR_MAX 0xffff
|
||||||
|
|
||||||
#ifndef WEOF
|
#ifndef WEOF
|
||||||
#define WEOF (wchar_t)(0xFFFF)
|
#define WEOF (wchar_t)(0xFFFF)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user