add EILSEQ for mac

This commit is contained in:
rsc 2005-12-26 04:47:21 +00:00
parent 74f9b0c62c
commit 35d26aa321
4 changed files with 77 additions and 34 deletions

View file

@ -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