xiaoxiang781216 commented on a change in pull request #2064: URL: https://github.com/apache/incubator-nuttx/pull/2064#discussion_r513891193
########## File path: include/sys/types.h ########## @@ -188,6 +188,9 @@ typedef intptr_t ptrdiff_t; typedef uint16_t wchar_t; #endif +#if defined(__WCHAR_WIDTH__) && __WCHAR_WIDTH__ != 16 +#error __WCHAR_WIDTH__ should be 16 Review comment: But wchar_t is compiler defined value from wiki: https://en.wikipedia.org/wiki/Wide_character ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: us...@infra.apache.org