mirror of
https://github.com/apache/nuttx.git
synced 2025-01-13 10:58:49 +08:00
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
1 changed files with 2 additions and 1 deletions
|
@ -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 a new issue