You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by ag...@apache.org on 2020/06/04 11:07:25 UTC

[incubator-nuttx] branch master updated: include/cxx/cwchar: include wctype.h to fix libcxx build break

This is an automated email from the ASF dual-hosted git repository.

aguettouche pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-nuttx.git


The following commit(s) were added to refs/heads/master by this push:
     new ff9d435  include/cxx/cwchar: include wctype.h to fix libcxx build break
ff9d435 is described below

commit ff9d435a951318abbcbe3a48b1b78f9e59f82aab
Author: liuhaitao <li...@xiaomi.com>
AuthorDate: Fri May 29 14:45:09 2020 +0800

    include/cxx/cwchar: include wctype.h to fix libcxx build break
    
    Note that iswalnum etc functions defined in wctype.h, and cwchar uses them.
    So include wctype.h to fix libcxx build break.
    
    Change-Id: I0f6b402d817f0927729800bdb8b9fce15e76ec3d
    Signed-off-by: liuhaitao <li...@xiaomi.com>
---
 include/cxx/cwchar | 1 +
 1 file changed, 1 insertion(+)

diff --git a/include/cxx/cwchar b/include/cxx/cwchar
index fa70b9d..2e860b1 100644
--- a/include/cxx/cwchar
+++ b/include/cxx/cwchar
@@ -43,6 +43,7 @@
 #include <nuttx/config.h>
 
 #include <wchar.h>
+#include <wctype.h>
 #include <stdlib.h>
 
 //***************************************************************************