diff options
author | planetmaker <planetmaker@openttd.org> | 2014-07-30 20:19:29 +0000 |
---|---|---|
committer | planetmaker <planetmaker@openttd.org> | 2014-07-30 20:19:29 +0000 |
commit | bcb9c64ac850cc7bb145641b707d334bb982a5b2 (patch) | |
tree | fa073efa7cc0362071841aa6c830189fc852ce72 /src/video/cocoa | |
parent | 8fa42362e984b1dbfb911b78543afc512c9863ea (diff) | |
download | openttd-bcb9c64ac850cc7bb145641b707d334bb982a5b2.tar.xz |
(svn r26709) -Fix (r15892 and others) [FS#6069]: [OSX] Compilation fails with some lzo2 versions if we define __LP64__ as 0 instead of checking whether it is defined (kernigh2)
Diffstat (limited to 'src/video/cocoa')
-rw-r--r-- | src/video/cocoa/fullscreen.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/cocoa/fullscreen.mm b/src/video/cocoa/fullscreen.mm index 4d2b1c588..860866b33 100644 --- a/src/video/cocoa/fullscreen.mm +++ b/src/video/cocoa/fullscreen.mm @@ -70,7 +70,7 @@ struct OTTD_QuartzGammaTable { - (void) setFrame:(NSRect)frame { /* The 64 bits libraries don't seem to know about _frame, so this hack won't work. */ -#if !__LP64__ +#ifndef __LP64__ _frame = frame; #endif } |