summaryrefslogtreecommitdiff
path: root/src/core/geometry_type.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/geometry_type.hpp')
-rw-r--r--src/core/geometry_type.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/core/geometry_type.hpp b/src/core/geometry_type.hpp
index f2759ef4d..d6cd225dd 100644
--- a/src/core/geometry_type.hpp
+++ b/src/core/geometry_type.hpp
@@ -5,6 +5,11 @@
#ifndef GEOMETRY_TYPE_HPP
#define GEOMETRY_TYPE_HPP
+#if defined(__AMIGA__)
+ /* AmigaOS already has a Point declared */
+ #define Point OTTD_Point
+#endif /* __AMIGA__ */
+
struct Point {
int x;
int y;