From c71aa27b925ad6f099f8e0c9ec6f3cc911dad2b6 Mon Sep 17 00:00:00 2001 From: fonsinchen Date: Mon, 30 Dec 2013 14:46:24 +0000 Subject: (svn r26186) -Fix: Don't check for equality of MAC_OS_X_VERSION_MAX_ALLOWED. --- src/video/cocoa/event.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- cgit v1.2.3-70-g09d2