diff options
-rw-r--r-- | include/wchar.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/wchar.h b/include/wchar.h index 077f6832a..67a3664bf 100644 --- a/include/wchar.h +++ b/include/wchar.h @@ -68,6 +68,13 @@ typedef unsigned int wint_t; #ifndef __mbstate_t_defined # define __mbstate_t_defined 1 /* Conversion state information. */ +#if 1 +typedef struct +{ + wchar_t mask; + wchar_t wc; +} __mbstate_t; +#else typedef struct { int __count; @@ -78,6 +85,7 @@ typedef struct } __value; /* Value so far. */ } __mbstate_t; #endif +#endif #undef __need_mbstate_t |