diff options
-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; |