diff options
-rw-r--r-- | include/wchar.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/wchar.h b/include/wchar.h index 4900c20..2b51040 100644 --- a/include/wchar.h +++ b/include/wchar.h @@ -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 |