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:
chenxiaoyi
2024-06-13 11:49:24 +08:00
committed by Xiang Xiao
parent 7c56e917e7
commit 7ce5241f0e
25 changed files with 83 additions and 2 deletions
+2 -2
View File
@@ -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 */