Add definitions for WCHAR_MIN and WCHAR_MAX.
This commit is contained in:
parent
35653f3843
commit
287365fffa
@ -69,6 +69,7 @@
|
||||
|
||||
#include <sys/cdefs.h>
|
||||
#include <sys/_types.h>
|
||||
#include <machine/_limits.h>
|
||||
|
||||
#ifndef NULL
|
||||
#define NULL 0
|
||||
@ -96,6 +97,11 @@ typedef __wint_t wint_t;
|
||||
#define _WINT_T_DECLARED
|
||||
#endif
|
||||
|
||||
#ifndef WCHAR_MIN
|
||||
#define WCHAR_MIN __INT_MIN
|
||||
#define WCHAR_MAX __INT_MAX
|
||||
#endif
|
||||
|
||||
#ifndef WEOF
|
||||
#define WEOF ((wint_t)-1)
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user