From 5795eac27680c53465106fd1570dd89d04fe028c Mon Sep 17 00:00:00 2001 From: auronandace Date: Tue, 2 Jun 2026 12:13:17 +0100 Subject: [PATCH] change wchar_t type to int --- include/stddef.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/stddef.h b/include/stddef.h index 6f0449055b..76cd08412f 100644 --- a/include/stddef.h +++ b/include/stddef.h @@ -1,6 +1,5 @@ #ifndef _STDDEF_H #define _STDDEF_H -#include // wchar_t should come before NULL and size_t // according to comment in wchar cbindgen @@ -8,7 +7,7 @@ #define _WCHAR_T #ifndef __cplusplus #ifndef __WCHAR_TYPE__ - #define __WCHAR_TYPE__ int32_t + #define __WCHAR_TYPE__ int #endif typedef __WCHAR_TYPE__ wchar_t; #endif // __cplusplus