summary refs log tree commit diff
path: root/wcsmbs
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>1996-04-24 05:28:34 +0000
committerRoland McGrath <roland@gnu.org>1996-04-24 05:28:34 +0000
commit80bcb41041cd84144f5b3af46110c734b99404f5 (patch)
treeec9bc97e20affb529207894195554abd2d0c1082 /wcsmbs
parente0637da1c74bfbf640e049329c955267b4922c19 (diff)
downloadglibc-80bcb41041cd84144f5b3af46110c734b99404f5.tar.gz
glibc-80bcb41041cd84144f5b3af46110c734b99404f5.tar.xz
glibc-80bcb41041cd84144f5b3af46110c734b99404f5.zip
Wed Apr 24 00:22:42 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
	* wcsmbs/wcsrtombs.c [! EILSEQ] (EILSEQ): Define to EINVAL.
	* wcsmbs/wcrtomb.c: Likewise.
Diffstat (limited to 'wcsmbs')
-rw-r--r--wcsmbs/wcrtomb.c3
-rw-r--r--wcsmbs/wcsrtombs.c4
2 files changed, 7 insertions, 0 deletions
diff --git a/wcsmbs/wcrtomb.c b/wcsmbs/wcrtomb.c
index 493e08f77d..43a2162500 100644
--- a/wcsmbs/wcrtomb.c
+++ b/wcsmbs/wcrtomb.c
@@ -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)
diff --git a/wcsmbs/wcsrtombs.c b/wcsmbs/wcsrtombs.c
index 612a86d437..487237fcad 100644
--- a/wcsmbs/wcsrtombs.c
+++ b/wcsmbs/wcsrtombs.c
@@ -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)