include/wchar:Fix mbstate_t Redeclaration in MSVC
Summary: Because stdio.h references stdatomic.h in MVSC, it internally declares mbstate_t, leading to redeclarations during compilation. Signed-off-by: chenrun1 <chenrun1@xiaomi.com>
This commit is contained in:
parent
aade7c7c2d
commit
6e1dfe2777
@ -97,7 +97,8 @@ struct mbstate_s
|
||||
int __fill[6];
|
||||
};
|
||||
|
||||
typedef struct mbstate_s mbstate_t;
|
||||
typedef struct mbstate_s mbstate_s;
|
||||
#define mbstate_t mbstate_s
|
||||
|
||||
/* FILE
|
||||
* As described in <stdio.h>.
|
||||
|
Loading…
Reference in New Issue
Block a user