]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
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 493e08f77d8d6197ed3c16530a06fef301076d03..43a21625001d06916dd66f3c6545a56ada0b536b 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 612a86d437f53f3156595cbdae4f4efc04dd5578..487237fcadad9bdcd91576eb673405648550e715 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)