aboutsummaryrefslogtreecommitdiff
path: root/simon
diff options
context:
space:
mode:
Diffstat (limited to 'simon')
-rw-r--r--simon/simon.cpp2
-rw-r--r--simon/simon.h2
2 files changed, 2 insertions, 2 deletions
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;