diff options
author | egladil <egladil@openttd.org> | 2007-12-23 18:08:39 +0000 |
---|---|---|
committer | egladil <egladil@openttd.org> | 2007-12-23 18:08:39 +0000 |
commit | 22f79df32830d173827038222e509721c1e5ac18 (patch) | |
tree | 4ad50764b4e1705f3a98b322d120b0021a47d237 /src/core/geometry_type.hpp | |
parent | da5d3a7b3b6aa5e4e78e3f3467f9a0aaa881cb6b (diff) | |
download | openttd-22f79df32830d173827038222e509721c1e5ac18.tar.xz |
(svn r11688) -Fix [FS#1581]: Compilation was broken on OS X again.
Diffstat (limited to 'src/core/geometry_type.hpp')
-rw-r--r-- | src/core/geometry_type.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/core/geometry_type.hpp b/src/core/geometry_type.hpp index d6cd225dd..be89acdb7 100644 --- a/src/core/geometry_type.hpp +++ b/src/core/geometry_type.hpp @@ -10,6 +10,13 @@ #define Point OTTD_Point #endif /* __AMIGA__ */ +#if defined(__APPLE__) + /* Mac OS X already has both Rect and Point declared */ + #define Rect OTTD_Rect + #define Point OTTD_Point +#endif /* __APPLE__ */ + + struct Point { int x; int y; |