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
commit ae33247f47
1 changed files with 2 additions and 0 deletions

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