+2008-12-29 Eric Blake <ebb9@byu.net>
+
+ wchar.h: supply WEOF on Irix 5.3
+ * lib/wchar.in.h (wint_t): Also supply WEOF.
+ * lib/wctype.in.h (wint_t): Likewise.
+ * doc/posix-headers/wchar.texi (wchar.h): Document the bug.
+ * doc/posix-headers/wctype.texi (wctype.h): Likewise.
+ Reported by Tom G. Christensen.
+
2008-12-26 Bruno Haible <bruno@clisp.org>
* m4/multiarch.m4 (gl_MULTIARCH): Recognize also the architecture names
* doc/glibc-functions/wmempcpy.texi: Likewise.
2008-12-22 Ingo Weinhold <ingo_weinhold@gmx.de> (tiny change)
- Eric Blake <ebb9@byu.net>
- Paolo Bonzini <bonzini@gnu.org>
- Bruno Haible <bruno@clisp.org>
+ Eric Blake <ebb9@byu.net>
+ Paolo Bonzini <bonzini@gnu.org>
+ Bruno Haible <bruno@clisp.org>
Make c-stack work on Haiku.
* lib/c-stack.c (SA_ONSTACK): Define fallback.
This header file is not self-contained on some platforms:
OSF/1 with Desktop Toolkit C, BSD/OS 4.0.1.
@item
-The type @code{wint_t} is missing on some platforms:
+The type @code{wint_t} and macro @code{WEOF} are missing on some platforms:
IRIX 5.3.
@end itemize
This header file is not self-contained on some platforms:
Solaris 2.5, OSF/1 with Desktop Toolkit C, BSD/OS 4.0.1.
@item
-The type @code{wint_t} is missing on some platforms:
+The type @code{wint_t} and macro @code{WEOF} are missing on some platforms:
IRIX 5.3.
@item
The functions @code{isw*} are missing on some platforms:
/* 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 <wctype.h> but lacks the functions.