X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Fwchar.in.h;h=606a70a1c7daf0302f992cd76c7631cd75af0e77;hb=1e60b920564d9b30c65c53553a4293b1c76863d8;hp=e6fd392bd580e1d8f081eb7a4b8b59578b2c8d3b;hpb=cda636671de46bd0c60641ac60d6399662d7af2c;p=gnulib.git diff --git a/lib/wchar.in.h b/lib/wchar.in.h index e6fd392bd..606a70a1c 100644 --- a/lib/wchar.in.h +++ b/lib/wchar.in.h @@ -26,6 +26,8 @@ * the declaration of wcwidth(). */ +@PRAGMA_SYSTEM_HEADER@ + #ifdef __need_mbstate_t /* Special invocation convention inside uClibc header files. */ @@ -61,6 +63,12 @@ extern "C" { #endif +/* Define wint_t. (Also done in wctype.in.h.) */ +#if !@HAVE_WINT_T@ && !defined wint_t +# define wint_t int +#endif + + /* Return the number of screen columns needed for WC. */ #if @GNULIB_WCWIDTH@ # if @REPLACE_WCWIDTH@