SAGE: Remove irrelevant platform #ifdefs and redundant includes

This commit is contained in:
Mark Pizzolato 2023-05-11 17:39:45 -10:00 committed by Paul Koning
parent d329907306
commit 8b6c0b60c9
5 changed files with 0 additions and 34 deletions

View file

@ -43,10 +43,6 @@
#include "m68k_cpu.h" #include "m68k_cpu.h"
#include "chip_defs.h" #include "chip_defs.h"
#if defined (_WIN32)
#include <windows.h>
#endif
#include "sim_imd.h" #include "sim_imd.h"
/* internal state machine: /* internal state machine:

View file

@ -36,13 +36,6 @@
*/ */
#include "m68k_cpu.h" #include "m68k_cpu.h"
#include <ctype.h>
#if defined(_WIN32)
#include <windows.h>
#else
#include <unistd.h>
#endif
/* status reg flags */ /* status reg flags */
#define FLAG_C 0x0001 #define FLAG_C 0x0001

View file

@ -28,13 +28,6 @@
*/ */
#include "m68k_cpu.h" #include "m68k_cpu.h"
#include <ctype.h>
#if defined(_WIN32)
#include <windows.h>
#else
#include <unistd.h>
#endif
/* io hash */ /* io hash */
#define IOHASHSIZE 97 /* must be prime */ #define IOHASHSIZE 97 /* must be prime */

View file

@ -393,14 +393,6 @@
*/ */
#include "m68k_cpu.h" #include "m68k_cpu.h"
#include <ctype.h>
#include <string.h>
#if defined(_WIN32)
#include <windows.h>
#else
#include <unistd.h>
#endif
struct _ea { struct _ea {
int ea; int ea;

View file

@ -32,14 +32,6 @@
*/ */
#include "m68k_cpu.h" #include "m68k_cpu.h"
#include <ctype.h>
#include <string.h>
#if defined(_WIN32)
#include <windows.h>
#else
#include <unistd.h>
#endif
t_stat set_iobase(UNIT *uptr, int32 val, CONST char *cptr, void *desc) t_stat set_iobase(UNIT *uptr, int32 val, CONST char *cptr, void *desc)
{ {