summaryrefslogtreecommitdiff
path: root/stdafx.h
diff options
context:
space:
mode:
authorbjarni <bjarni@openttd.org>2004-12-08 16:27:54 +0000
committerbjarni <bjarni@openttd.org>2004-12-08 16:27:54 +0000
commitb043d3e5678944e4960c8fe0c3d380825c41d0e5 (patch)
treeafe64b67abbd356109d06712405e5bf262c89f32 /stdafx.h
parent945ceb06fc166379a9d0ffa4dfafe68894cba9e6 (diff)
downloadopenttd-b043d3e5678944e4960c8fe0c3d380825c41d0e5.tar.xz
(svn r980) Fixed issues where MorphOS would get problems if AmigaOS would get a port, since MorphOS also have the flag __AMIGA__ defined (Tokai)
Diffstat (limited to 'stdafx.h')
-rw-r--r--stdafx.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/stdafx.h b/stdafx.h
index 23b647958..15a59c7a0 100644
--- a/stdafx.h
+++ b/stdafx.h
@@ -182,4 +182,9 @@ assert_compile(sizeof(uint8) == 1);
#define CloseConnection OTTD_CloseConnection
#endif
+#if !(defined(__AMIGA__) && !defined(__MORPHOS__))
+// it seems AmigaOS already have a Point declared
+#define Point OTTD_AMIGA_POINT
+#endif
+
#endif // !defined(_STDAFX_H)