Buildable on Linux

This commit is contained in:
David Schmidt 2010-04-12 15:31:11 +00:00
parent 4a3949112f
commit 8b8616209d
5 changed files with 15 additions and 0 deletions

View File

@ -5,6 +5,8 @@ OBJECTS1 = adb.o clock.o config.o dis.o engine_c.o scc.o iwm.o \
sound.o sound_driver.o video.o scc_socket_driver.o scc_windriver.o \
scc_macdriver.o
OBJECTS2 = tfe/tfe.o tfe/tfesupp.o tfe/arch/win32/tfearch.o
include vars
.SUFFIXES: .dep .proto

View File

@ -24,6 +24,10 @@
#include "config.h"
#include <dirent.h>
#ifdef HAVE_TFE
#include "protos_tfe.h"
#endif
#if defined (WIN32) || (WIN64)
#define snprintf _snprintf
typedef unsigned int mode_t;

View File

@ -23,6 +23,10 @@ const char rcsid_moremem_c[] = "@(#)$KmKId: moremem.c,v 1.251 2004-11-19 01:55:5
#include "defc.h"
#ifdef HAVE_TFE
#include "protos_tfe.h"
#endif
extern char g_kegs_version_str[];
extern byte *g_memory_ptr;

View File

@ -26,6 +26,9 @@ const char rcsid_sim65816_c[] = "@(#)$KmKId: sim65816.c,v 1.367 2004-11-22 02:39
#define INCLUDE_RCSID_C
#include "defc.h"
#undef INCLUDE_RCSID_C
#ifdef HAVE_TFE
#include "protos_tfe.h"
#endif
#ifdef HAVE_PARALLEL
#include "printer.h"
#endif

View File

@ -39,6 +39,8 @@
#include "../defc.h"
#include "tfesupp.h"
#include "types.h"
#include "../protos_tfe.h"
/**/