From 5f4eeee5f01e07393ab603d6baa705486d126913 Mon Sep 17 00:00:00 2001 From: rubidium Date: Sun, 3 May 2009 15:46:36 +0000 Subject: (svn r16221) -Change: support building 64 bits OSX binaries and add optional support for 64 bits binaries in OSX universal binaries. However, do not default to adding 64 bits binaries because benchmarking has shown that they are slower than the 32 bits binaries. --- src/video/cocoa/fullscreen.mm | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/video/cocoa') 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 -- cgit v1.2.3-70-g09d2