summaryrefslogtreecommitdiff
path: root/src/video/cocoa/fullscreen.mm
diff options
context:
space:
mode:
authormichi_cc <michi_cc@openttd.org>2013-11-09 14:47:03 +0000
committermichi_cc <michi_cc@openttd.org>2013-11-09 14:47:03 +0000
commit9b68e4f8644a2750d537a7cbc474914aea4944ef (patch)
tree0d209ff8e86be3b8d8ae97a88537307846a57788 /src/video/cocoa/fullscreen.mm
parentca7dce1fc219eca579c33ff03a77c21186435e3b (diff)
downloadopenttd-9b68e4f8644a2750d537a7cbc474914aea4944ef.tar.xz
(svn r25962) -Fix (r25951): [OSX] Do the SDK version test the proper way 'round.
Diffstat (limited to 'src/video/cocoa/fullscreen.mm')
-rw-r--r--src/video/cocoa/fullscreen.mm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/video/cocoa/fullscreen.mm b/src/video/cocoa/fullscreen.mm
index 0683a1adb..411b6d0c0 100644
--- a/src/video/cocoa/fullscreen.mm
+++ b/src/video/cocoa/fullscreen.mm
@@ -17,7 +17,7 @@
#include "../../stdafx.h"
-#if MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_9
+#if (MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_9)
#define Rect OTTDRect
#define Point OTTDPoint
@@ -520,5 +520,5 @@ CocoaSubdriver *QZ_CreateFullscreenSubdriver(int width, int height, int bpp)
return ret;
}
-#endif /* MAC_OS_X_VERSION_MIN_REQUIRED < MAC_OS_X_VERSION_10_9 */
+#endif /* (MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_9) */
#endif /* WITH_COCOA */