Merged in david_s5/nuttx/upstream_wc (pull request #456)

cwchar:Use CONFIG_LIBC_WCHAR to only export the wc/mb functions

Approved-by: Gregory Nutt <gnutt@nuttx.org>
This commit is contained in:
David Sidrane
2017-08-11 01:11:30 +00:00
committed by Gregory Nutt
+2
View File
@@ -54,6 +54,7 @@ namespace std
using ::wctype_t;
using ::size_t;
#ifdef CONFIG_LIBC_WCHAR
using ::btowc;
using ::fwprintf;
using ::fwscanf;
@@ -132,6 +133,7 @@ namespace std
using ::wmemset;
using ::wprintf;
using ::wscanf;
#endif
};
#endif // __INCLUDE_CXX_CWCHAR