mirror of
https://github.com/ZDoom/acc.git
synced 2025-02-14 07:30:56 +00:00
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:
parent
abdc086666
commit
15a0960c83
2 changed files with 2 additions and 2 deletions
2
misc.c
2
misc.c
|
@ -12,7 +12,7 @@
|
||||||
#else
|
#else
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#ifndef unix
|
#if !defined(unix) && !defined(__APPLE__)
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
2
token.c
2
token.c
|
@ -15,7 +15,7 @@
|
||||||
#ifdef __NeXT__
|
#ifdef __NeXT__
|
||||||
#include <libc.h>
|
#include <libc.h>
|
||||||
#else
|
#else
|
||||||
#ifndef unix
|
#if !defined(unix) && !defined(__APPLE__)
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
#endif
|
#endif
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
Loading…
Reference in a new issue