diff options
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/include/wchar.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/newlib/libc/include/wchar.h b/newlib/libc/include/wchar.h index ec95162..4cefc5d 100644 --- a/newlib/libc/include/wchar.h +++ b/newlib/libc/include/wchar.h @@ -23,11 +23,13 @@ #define WCHAR_MIN 0 #endif +#ifndef WCHAR_MAX #ifdef __WCHAR_MAX__ #define WCHAR_MAX __WCHAR_MAX__ #else #define WCHAR_MAX 0x7fffffffu #endif +#endif #ifndef MBSTATE_T #define MBSTATE_T |