You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by GitBox <gi...@apache.org> on 2020/06/02 09:27:06 UTC

[GitHub] [incubator-nuttx] jerpelea commented on a change in pull request #1173: Implement more multiple bytes string functions required by libc++

jerpelea commented on a change in pull request #1173:
URL: https://github.com/apache/incubator-nuttx/pull/1173#discussion_r433742318



##########
File path: include/limits.h
##########
@@ -68,6 +70,13 @@
 #  endif
 #endif
 
+/* Maximum length of any multibyte character in any locale.
+ * We define this value here since the gcc header does not define
+ * the correct value.
+ */
+
+#define MB_LEN_MAX            8

Review comment:
       @xiaoxiang781216 
   
   MB_LEN_MAX | Maximum number of bytes in a multibyte character, for any locale | 1 or greater*
   * the actual value depends on the particular system and library implementation, but shall reflect the limits of these types in the target platform.
   




----------------------------------------------------------------
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:
users@infra.apache.org