diff options
author | fonsinchen <fonsinchen@openttd.org> | 2013-12-30 14:46:24 +0000 |
---|---|---|
committer | fonsinchen <fonsinchen@openttd.org> | 2013-12-30 14:46:24 +0000 |
commit | c71aa27b925ad6f099f8e0c9ec6f3cc911dad2b6 (patch) | |
tree | 5e6bd250ef33d696bc0ca5e241a38ee31ddb3fce | |
parent | cab6391ded9bb8084fcc817d9a70d9b85135de0d (diff) | |
download | openttd-c71aa27b925ad6f099f8e0c9ec6f3cc911dad2b6.tar.xz |
(svn r26186) -Fix: Don't check for equality of MAC_OS_X_VERSION_MAX_ALLOWED.
-rw-r--r-- | src/video/cocoa/event.mm | 2 |
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; |