summaryrefslogtreecommitdiff
path: root/src/video/cocoa/fullscreen.mm
diff options
context:
space:
mode:
Diffstat (limited to 'src/video/cocoa/fullscreen.mm')
-rw-r--r--src/video/cocoa/fullscreen.mm3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/video/cocoa/fullscreen.mm b/src/video/cocoa/fullscreen.mm
index b011834a4..5cc7784ab 100644
--- a/src/video/cocoa/fullscreen.mm
+++ b/src/video/cocoa/fullscreen.mm
@@ -71,7 +71,10 @@ struct OTTD_QuartzGammaTable {
@implementation NSScreen (NSScreenAccess)
- (void) setFrame:(NSRect)frame;
{
+/* The 64 bits libraries don't seem to know about _frame, so this hack won't work. */
+#if !__LP64__
_frame = frame;
+#endif
}
@end