Add definitions for WCHAR_MIN and WCHAR_MAX.

This commit is contained in:
Alexander Kabaev 2003-04-28 22:40:05 +00:00
parent 35653f3843
commit 287365fffa

View File

@ -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