summaryrefslogtreecommitdiff
path: root/textproc/libunicode/patches/patch-aa
blob: 009df68b7539db9236b71af24d8c3cfd1efffe46 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-aa,v 1.1 2000/08/29 14:38:15 rh Exp $

--- convert.c.orig	Fri Sep  3 06:33:27 1999
+++ convert.c
@@ -30,7 +30,11 @@
 #ifndef EILSEQ
 /* On some systems, like SunOS, EILSEQ is not defined.  On those
    systems we use EBADMSG instead.  */
+#ifdef EBADMSG
 #  define EILSEQ EBADMSG
+#else
+#  define EILSEQ ENOMSG
+#endif
 #endif
 
 /* Linked list of all character sets.  */