X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=lib%2Fwctype.in.h;h=f7942edf15c1cffba84a287f7a11195e60224002;hb=4a9bda2af00e83f7eb4f66606b69f38c78a8e65c;hp=4a4f5a05b8065aa8bc21e5735bdbc942ab43b172;hpb=cf7169a2ede9bb08b71de68fe0c8bbecf827abe6;p=tar diff --git a/lib/wctype.in.h b/lib/wctype.in.h index 4a4f5a0..f7942ed 100644 --- a/lib/wctype.in.h +++ b/lib/wctype.in.h @@ -59,6 +59,9 @@ /* Define wint_t. (Also done in wchar.in.h.) */ #if !@HAVE_WINT_T@ && !defined wint_t # define wint_t int +# ifndef WEOF +# define WEOF -1 +# endif #endif /* FreeBSD 4.4 to 4.11 has but lacks the functions.