From 945d4f4ff0de3e7eecae57f3644997dd3eb0dc5f Mon Sep 17 00:00:00 2001 From: Ruediger Hanke Date: Tue, 16 Apr 2002 20:49:55 +0000 Subject: Make simon stuff compile with MorphOS svn-id: r3965 --- simon/simon.cpp | 2 +- simon/simon.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'simon') diff --git a/simon/simon.cpp b/simon/simon.cpp index 9292edb3ab..e43031aab0 100644 --- a/simon/simon.cpp +++ b/simon/simon.cpp @@ -127,7 +127,7 @@ FILE *SimonState::fopen_maybe_lowercase(const char *filename) { e = strchr(buf, 0); strcpy(e, filename); -#ifdef WIN32 +#if defined(WIN32) || defined(__MORPHOS__) /* win32 is not case sensitive */ return fopen(buf, "rb"); #else diff --git a/simon/simon.h b/simon/simon.h index a534beba90..f5542f2a62 100644 --- a/simon/simon.h +++ b/simon/simon.h @@ -220,7 +220,7 @@ struct VgaFile1Struct0x6 { }; /* dummy typedefs to make it compile in *nix */ -#ifdef UNIX +#if defined(UNIX) || defined(__MORPHOS__) typedef void* HMIDISTRM; typedef void* HMIDIOUT; typedef uint32 UINT; -- cgit v1.2.3