diff --git a/include/bits/wchar.h b/include/bits/wchar.h index 31eb7598e8..e271c72b32 100644 --- a/include/bits/wchar.h +++ b/include/bits/wchar.h @@ -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