summaryrefslogtreecommitdiffstats
path: root/src/cmd/tcs/utf.c
diff options
context:
space:
mode:
authorrsc <devnull@localhost>2005-12-26 04:47:21 +0000
committerrsc <devnull@localhost>2005-12-26 04:47:21 +0000
commit35d26aa32167e84326cdb745c0e906393b8de71d (patch)
tree3e28abd7941806a3da1d09d2b226716ab3eb5abe /src/cmd/tcs/utf.c
parent74f9b0c62cfe49a5e49380a2cf6eb99f762a8d76 (diff)
downloadplan9port-35d26aa32167e84326cdb745c0e906393b8de71d.tar.gz
plan9port-35d26aa32167e84326cdb745c0e906393b8de71d.zip
add EILSEQ for mac
Diffstat (limited to 'src/cmd/tcs/utf.c')
-rw-r--r--src/cmd/tcs/utf.c4
1 files changed, 3 insertions, 1 deletions
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 <errno.h>
#else
extern int errno;
-#define EILSEQ 123
#endif
#else
#include <sys/types.h>
@@ -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