summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorfonsinchen <fonsinchen@openttd.org>2013-12-30 14:46:24 +0000
committerfonsinchen <fonsinchen@openttd.org>2013-12-30 14:46:24 +0000
commitc71aa27b925ad6f099f8e0c9ec6f3cc911dad2b6 (patch)
tree5e6bd250ef33d696bc0ca5e241a38ee31ddb3fce /src
parentcab6391ded9bb8084fcc817d9a70d9b85135de0d (diff)
downloadopenttd-c71aa27b925ad6f099f8e0c9ec6f3cc911dad2b6.tar.xz
(svn r26186) -Fix: Don't check for equality of MAC_OS_X_VERSION_MAX_ALLOWED.
Diffstat (limited to 'src')
-rw-r--r--src/video/cocoa/event.mm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/video/cocoa/event.mm b/src/video/cocoa/event.mm
index 489b38522..4ebb899b5 100644
--- a/src/video/cocoa/event.mm
+++ b/src/video/cocoa/event.mm
@@ -71,7 +71,7 @@ static uint32 _tEvent;
/* Support for touch gestures is only available starting with the
* 10.6 SDK, even if it says that support starts in fact with 10.5.2.
* Replicate the needed stuff for older SDKs. */
-#if MAC_OS_X_VERSION_MAX_ALLOWED == MAC_OS_X_VERSION_10_5
+#if (MAC_OS_X_VERSION_MAX_ALLOWED >= MAC_OS_X_VERSION_10_5 && MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_6)
static const NSUInteger NSEventTypeMagnify = 30;
static const NSUInteger NSEventTypeEndGesture = 20;