mirror of
https://github.com/wwarthen/RomWBW.git
synced 2026-02-06 22:43:15 -06:00
clean build
This commit is contained in:
@@ -2,10 +2,11 @@
|
||||
#define HAVE_DIRENT_H
|
||||
#define HAVE_UTIME_H
|
||||
#define HAVE_FCNTL_H
|
||||
#define HAVE_UNISTD_H
|
||||
#define BINDIR80 getenv("ZXBINDIR")
|
||||
#define LIBDIR80 getenv("ZXLIBDIR")
|
||||
#define INCDIR80 getenv("ZXINCDIR")
|
||||
#define LINUX
|
||||
#define DARWIN
|
||||
#include <sys/param.h>
|
||||
#include <sys/mount.h>
|
||||
#define _S_IFDIR S_IFDIR
|
||||
|
||||
@@ -3,6 +3,7 @@
|
||||
#define HAVE_UTIME_H
|
||||
#define HAVE_FCNTL_H
|
||||
#define HAVE_SYS_VFS_H
|
||||
#define HAVE_UNISTD_H
|
||||
#define BINDIR80 getenv("ZXBINDIR")
|
||||
#define LIBDIR80 getenv("ZXLIBDIR")
|
||||
#define INCDIR80 getenv("ZXINCDIR")
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
#include <fcntl.h>
|
||||
#ifdef LINUX
|
||||
#if defined(LINUX) || defined(DARWIN)
|
||||
#include <unistd.h>
|
||||
#define _isatty(a) isatty(a)
|
||||
#define _fileno(a) fileno(a)
|
||||
@@ -87,7 +87,7 @@ extern char **argv;
|
||||
extern int argc;
|
||||
extern byte RAM[65536]; /* The Z80's address space */
|
||||
|
||||
extern usestdio;
|
||||
extern int usestdio;
|
||||
|
||||
/* Z80 CPU emulation */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user