arch: Add _wchar_t typedef like other basic types

Signed-off-by: Xiang Xiao <xiaoxiang@xiaomi.com>
This commit is contained in:
Xiang Xiao
2021-11-01 12:40:51 +08:00
committed by YAMAMOTO Takashi
parent 334bb9768a
commit 6357523892
22 changed files with 128 additions and 2 deletions
+6
View File
@@ -64,6 +64,12 @@ typedef unsigned long long _uint64_t;
typedef _int64_t _intmax_t;
typedef _uint64_t _uintmax_t;
#if defined(__WCHAR_TYPE__)
typedef __WCHAR_TYPE__ _wchar_t;
#else
typedef int _wchar_t;
#endif
/* A size is 4 bytes */
#if defined(__SIZE_TYPE__)