X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;ds=sidebyside;f=lib%2Fwchar.in.h;h=606a70a1c7daf0302f992cd76c7631cd75af0e77;hb=29dd8b5548ce047ce51ff9a73d6c4b50c9886771;hp=8ed292ccce5392127abdc3d1cc8a8615d597cab7;hpb=c2318e88599d84748f3537b54646913f0af0eb20;p=gnulib.git diff --git a/lib/wchar.in.h b/lib/wchar.in.h index 8ed292ccc..606a70a1c 100644 --- a/lib/wchar.in.h +++ b/lib/wchar.in.h @@ -63,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@