mirror of
https://github.com/apache/nuttx.git
synced 2026-05-15 21:19:09 +08:00
d0023038a5
When a build does not want to use wide or multibyte char CONFIG_LIBC_WCHAR is not set. Therefore we should to only export the wc/mb functions when defined. Regardless of the stat of CONFIG_LIBC_WCHAR the non mb/wc definitions such as mbstate_t, wint_t, wctype_t need to be exported.