diff options
Diffstat (limited to 'src/core')
-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; |