set prototyped iff set stdio ast_common.h set include . cat{ #ifndef _AST_WCHAR_H #define _AST_WCHAR_H 1 }end lib mbstowcs,wctomb,wcrtomb,wcslen,wcstombs,wcwidth stdlib.h stdio.h wchar.h lib towlower,towupper stdlib.h stdio.h wchar.h typ mbstate_t stdlib.h stdio.h wchar.h nxt wchar cat{ #ifndef _SFSTDIO_H #include #include #endif }end if tst note{ requires native }end nocompile{ /**/ #define _STDIO_INCLUDED 1 #define FILE void #include int tst; }end if tst note{ defines __va_list for }end compile{ /**/ #define _STDIO_INCLUDED 1 #define FILE void #include #define __va_list va_list #include int tst; }end && { #define __va_list va_list } endif endif if hdr - wctype wchar.h if ! npt - iswalpha wchar.h { #include /* includes */ } endif endif run{ cat < is included multiple times with multiple effects */ #if _hdr_wchar && defined(_nxt_wchar) #include ${_nxt_wchar-_nxt_wchar} /* the native wchar.h */ #endif #endif ! }end