Fixed so compilation works on Mac, which doesn't recognize the "unix" keyword, though to be fair it's not even set in the Makefile.

This commit is contained in:
Ioan Chera 2016-01-23 14:12:36 +02:00
parent abdc086666
commit 15a0960c83
2 changed files with 2 additions and 2 deletions

2
misc.c
View file

@ -12,7 +12,7 @@
#else
#include <fcntl.h>
#include <stdlib.h>
#ifndef unix
#if !defined(unix) && !defined(__APPLE__)
#include <io.h>
#endif
#endif

View file

@ -15,7 +15,7 @@
#ifdef __NeXT__
#include <libc.h>
#else
#ifndef unix
#if !defined(unix) && !defined(__APPLE__)
#include <io.h>
#endif
#include <limits.h>