From: Roland McGrath Date: Wed, 24 Apr 1996 05:28:34 +0000 (+0000) Subject: Wed Apr 24 00:22:42 1996 Roland McGrath X-Git-Tag: cvs/libc-960424~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=80bcb41041cd84144f5b3af46110c734b99404f5;p=platform%2Fupstream%2Fglibc.git Wed Apr 24 00:22:42 1996 Roland McGrath * wcsmbs/wcsrtombs.c [! EILSEQ] (EILSEQ): Define to EINVAL. * wcsmbs/wcrtomb.c: Likewise. --- diff --git a/wcsmbs/wcrtomb.c b/wcsmbs/wcrtomb.c index 493e08f..43a2162 100644 --- a/wcsmbs/wcrtomb.c +++ b/wcsmbs/wcrtomb.c @@ -20,6 +20,9 @@ Boston, MA 02111-1307, USA. */ #include #include +#ifndef EILSEQ +#define EILSEQ EINVAL +#endif size_t wcrtomb (s, wc, ps) diff --git a/wcsmbs/wcsrtombs.c b/wcsmbs/wcsrtombs.c index 612a86d..487237f 100644 --- a/wcsmbs/wcsrtombs.c +++ b/wcsmbs/wcsrtombs.c @@ -20,6 +20,10 @@ Boston, MA 02111-1307, USA. */ #include #include +#ifndef EILSEQ +#define EILSEQ EINVAL +#endif + size_t wcsrtombs (dst, src, len, ps)