mirror of
https://github.com/simh/simh.git
synced 2026-01-11 23:52:58 +00:00
SAGE: Remove irrelevant platform #ifdefs and redundant includes
This commit is contained in:
parent
1ab4e772f8
commit
ee072b7d29
@ -36,13 +36,6 @@
|
||||
*/
|
||||
|
||||
#include "m68k_cpu.h"
|
||||
#include <ctype.h>
|
||||
|
||||
#if defined(_WIN32)
|
||||
#include <windows.h>
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
/* status reg flags */
|
||||
#define FLAG_C 0x0001
|
||||
|
||||
@ -28,13 +28,6 @@
|
||||
*/
|
||||
|
||||
#include "m68k_cpu.h"
|
||||
#include <ctype.h>
|
||||
|
||||
#if defined(_WIN32)
|
||||
#include <windows.h>
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
/* io hash */
|
||||
#define IOHASHSIZE 97 /* must be prime */
|
||||
|
||||
@ -393,14 +393,6 @@
|
||||
*/
|
||||
|
||||
#include "m68k_cpu.h"
|
||||
#include <ctype.h>
|
||||
#include <string.h>
|
||||
|
||||
#if defined(_WIN32)
|
||||
#include <windows.h>
|
||||
#else
|
||||
#include <unistd.h>
|
||||
#endif
|
||||
|
||||
struct _ea {
|
||||
int ea;
|
||||
|
||||
@ -32,14 +32,6 @@
|
||||
*/
|
||||
|
||||
#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)
|
||||
{
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user