Wed Apr 24 00:22:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
authorRoland McGrath <roland@gnu.org>
Wed, 24 Apr 1996 05:28:34 +0000 (05:28 +0000)
committerRoland McGrath <roland@gnu.org>
Wed, 24 Apr 1996 05:28:34 +0000 (05:28 +0000)
* wcsmbs/wcsrtombs.c [! EILSEQ] (EILSEQ): Define to EINVAL.
* wcsmbs/wcrtomb.c: Likewise.

wcsmbs/wcrtomb.c
wcsmbs/wcsrtombs.c

index 493e08f..43a2162 100644 (file)
@@ -20,6 +20,9 @@ Boston, MA 02111-1307, USA.  */
 #include <errno.h>
 #include <wchar.h>
 
+#ifndef EILSEQ
+#define EILSEQ EINVAL
+#endif
 
 size_t
 wcrtomb (s, wc, ps)
index 612a86d..487237f 100644 (file)
@@ -20,6 +20,10 @@ Boston, MA 02111-1307, USA.  */
 #include <errno.h>
 #include <wchar.h>
 
+#ifndef EILSEQ
+#define EILSEQ EINVAL
+#endif
+
 
 size_t
 wcsrtombs (dst, src, len, ps)