(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.

This commit is contained in:
rubidium
2009-05-03 15:46:36 +00:00
parent 3662d3d09b
commit 3490147666
3 changed files with 59 additions and 9 deletions

View File

@@ -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