mirror of
https://github.com/ZDoom/acc.git
synced 2025-02-06 22:10:52 +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
|
||||
#include <fcntl.h>
|
||||
#include <stdlib.h>
|
||||
#ifndef unix
|
||||
#if !defined(unix) && !defined(__APPLE__)
|
||||
#include <io.h>
|
||||
#endif
|
||||
#endif
|
||||
|
|
2
token.c
2
token.c
|
@ -15,7 +15,7 @@
|
|||
#ifdef __NeXT__
|
||||
#include <libc.h>
|
||||
#else
|
||||
#ifndef unix
|
||||
#if !defined(unix) && !defined(__APPLE__)
|
||||
#include <io.h>
|
||||
#endif
|
||||
#include <limits.h>
|
||||
|
|
Loading…
Reference in a new issue