diff options
Diffstat (limited to 'src/lib/libast/features/wctype')
-rw-r--r-- | src/lib/libast/features/wctype | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/lib/libast/features/wctype b/src/lib/libast/features/wctype new file mode 100644 index 0000000..0f59bc1 --- /dev/null +++ b/src/lib/libast/features/wctype @@ -0,0 +1,14 @@ +set prototyped +nxt wctype + +run{ +cat <<! + #if _hdr_wctype && defined(_nxt_wctype) + #include ${_nxt_wctype-_nxt_wctype} /* the native wctype.h */ + #endif + + #undef iswalpha + + #define iswalpha(w) (ast.mb_alpha?(*ast.mb_alpha)(w):isalpha(w)) +! +}end |