summaryrefslogtreecommitdiff
path: root/src/core/geometry_type.hpp
diff options
context:
space:
mode:
authorskidd13 <skidd13@openttd.org>2007-12-23 14:06:03 +0000
committerskidd13 <skidd13@openttd.org>2007-12-23 14:06:03 +0000
commitfec9cd587c761e3a0c7a57919be5fa167836076f (patch)
tree3b8f0bec78cdf814451905d5f96daf8fc0ba5d31 /src/core/geometry_type.hpp
parent43f03dff68498dd07cf35c32257eb63ccbd599f9 (diff)
downloadopenttd-fec9cd587c761e3a0c7a57919be5fa167836076f.tar.xz
(svn r11687) -Codechange: move some defines to a better place
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;