1
0
mirror of https://github.com/Interlisp/maiko.git synced 2026-02-09 01:31:11 +00:00

Patches that made it possible to compile on MacOS X as of Nov 13, 2011.

This commit is contained in:
Nick Briggs
2015-04-20 21:14:32 -07:00
parent de170a64d9
commit 5a702e808a
16 changed files with 67 additions and 7 deletions

View File

@@ -24,6 +24,7 @@ static char *id = "$Id: perrno.c,v 1.4 2001/12/26 22:17:04 sybalsky Exp $ Copyri
#include <stdio.h>
#include <errno.h>
#include "osmsg.h"
@@ -37,10 +38,15 @@ static char *id = "$Id: perrno.c,v 1.4 2001/12/26 22:17:04 sybalsky Exp $ Copyri
/************************************************************************/
extern int errno;
#ifdef MACOSX
extern const char * const sys_errlist[];
extern const int sys_nerr;
#else
int sys_nerr;
#ifndef LINUX
extern char *sys_errlist[];
#endif /* LINUX */
#endif
perrorn(char *s, int n)
{