aboutsummaryrefslogtreecommitdiff
path: root/simon
diff options
context:
space:
mode:
authorRuediger Hanke2002-04-16 20:49:55 +0000
committerRuediger Hanke2002-04-16 20:49:55 +0000
commit945d4f4ff0de3e7eecae57f3644997dd3eb0dc5f (patch)
tree6759b31c91af62bdd2cd4d6f72878dfe95acad16 /simon
parent2ad6eb6ef79088b2335daf0bc2df823c45e92a32 (diff)
downloadscummvm-rg350-945d4f4ff0de3e7eecae57f3644997dd3eb0dc5f.tar.gz
scummvm-rg350-945d4f4ff0de3e7eecae57f3644997dd3eb0dc5f.tar.bz2
scummvm-rg350-945d4f4ff0de3e7eecae57f3644997dd3eb0dc5f.zip
Make simon stuff compile with MorphOS
svn-id: r3965
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;