mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 05:42:05 +08:00
types.h: fix windows build error
Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt.h(605,39): error C2371: 'wint_t': redefinition; different basic types Windows Kits\10\Include\10.0.22621.0\ucrt\corecrt.h(606,39): error C2371: 'wctype_t': redefinition; different basic types Co-authored-by: chenxiaoyi <chenxiaoyi@xiaomi.com> Co-authored-by: xuxin19 <xuxin19@xiaomi.com>
This commit is contained in:
+2
-2
@@ -192,14 +192,14 @@ typedef _wchar_t wchar_t;
|
||||
* An integral type capable of storing any valid value of wchar_t, or WEOF.
|
||||
*/
|
||||
|
||||
typedef int wint_t;
|
||||
typedef _wint_t wint_t;
|
||||
|
||||
/* wctype_t
|
||||
* A scalar type of a data object that can hold values which represent
|
||||
* locale-specific character classification.
|
||||
*/
|
||||
|
||||
typedef int wctype_t;
|
||||
typedef _wctype_t wctype_t;
|
||||
|
||||
#if defined(CONFIG_FS_LARGEFILE)
|
||||
/* Large file versions */
|
||||
|
||||
Reference in New Issue
Block a user