diff --git a/library/include/stddef.h b/library/include/stddef.h index 817af4d..b78b0eb 100644 --- a/library/include/stddef.h +++ b/library/include/stddef.h @@ -61,7 +61,11 @@ extern "C" { typedef int ptrdiff_t; typedef unsigned int size_t; + +/* wchar_t is a built-in type in C++ */ +#ifndef __cplusplus typedef unsigned short wchar_t; +#endif /****************************************************************************/