mirror of
https://github.com/apache/nuttx.git
synced 2026-09-15 09:03:01 +08:00
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.