From 35d26aa32167e84326cdb745c0e906393b8de71d Mon Sep 17 00:00:00 2001 From: rsc Date: Mon, 26 Dec 2005 04:47:21 +0000 Subject: add EILSEQ for mac --- src/cmd/tcs/utf.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/cmd/tcs/utf.c') diff --git a/src/cmd/tcs/utf.c b/src/cmd/tcs/utf.c index e6635887..9aad892b 100644 --- a/src/cmd/tcs/utf.c +++ b/src/cmd/tcs/utf.c @@ -6,7 +6,6 @@ #include #else extern int errno; -#define EILSEQ 123 #endif #else #include @@ -18,6 +17,9 @@ extern int errno; #include "plan9.h" #endif #include "hdr.h" +#ifndef EILSEQ +#define EILSEQ 9998 +#endif /* the our_* routines are implementations for the corresponding library -- cgit v1.2.3