summaryrefslogtreecommitdiff
path: root/src/video/cocoa/cocoa_v.mm
diff options
context:
space:
mode:
authoregladil <egladil@openttd.org>2007-12-23 18:08:39 +0000
committeregladil <egladil@openttd.org>2007-12-23 18:08:39 +0000
commit22f79df32830d173827038222e509721c1e5ac18 (patch)
tree4ad50764b4e1705f3a98b322d120b0021a47d237 /src/video/cocoa/cocoa_v.mm
parentda5d3a7b3b6aa5e4e78e3f3467f9a0aaa881cb6b (diff)
downloadopenttd-22f79df32830d173827038222e509721c1e5ac18.tar.xz
(svn r11688) -Fix [FS#1581]: Compilation was broken on OS X again.
Diffstat (limited to 'src/video/cocoa/cocoa_v.mm')
-rw-r--r--src/video/cocoa/cocoa_v.mm7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/video/cocoa/cocoa_v.mm b/src/video/cocoa/cocoa_v.mm
index 90434c5d6..3ca9f8113 100644
--- a/src/video/cocoa/cocoa_v.mm
+++ b/src/video/cocoa/cocoa_v.mm
@@ -57,12 +57,11 @@ extern "C" OSErr CPSSetFrontProcess(CPSProcessSerNum* psn);
#include "../../openttd.h"
#include "../../debug.h"
#include "../../variables.h"
+#include "../../core/geometry_type.hpp"
#include "cocoa_v.h"
#include "../../blitter/factory.hpp"
#include "../../fileio.h"
-
-#undef Point
-#undef Rect
+#include "../../gfx_func.h"
@interface OTTDMain : NSObject
@@ -199,7 +198,7 @@ static void setupApplication()
static void QZ_UpdateVideoModes()
{
uint i, count;
- OTTDPoint modes[32];
+ OTTD_Point modes[32];
assert(_cocoa_subdriver != NULL);