Fix wchar_t redefinition in C++

This commit is contained in:
Wildan M
2026-01-27 14:40:23 +07:00
parent 5cadc9ebbd
commit 2c522c355f
+2
View File
@@ -6,10 +6,12 @@
#ifndef _WCHAR_T
#define _WCHAR_T
#ifndef __cplusplus
#ifndef __WCHAR_TYPE__
#define __WCHAR_TYPE__ int32_t
#endif
typedef __WCHAR_TYPE__ wchar_t;
#endif // __cplusplus
#endif // _WCHAR_T
#ifndef _WINT_T