From 1c6c3ead4f689d1b282ceec2b2756438abc0e11c Mon Sep 17 00:00:00 2001 From: Dalai Felinto Date: Tue, 6 Nov 2012 19:26:45 +0000 Subject: [PATCH] quick hack to allow 10.8 to build again, will wait Jens for real fix but basically the error I get is: Error: redefinition of enumerator 'NSEventTypeRotate' ... for all the NSEvents --- intern/ghost/intern/GHOST_SystemCocoa.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/intern/ghost/intern/GHOST_SystemCocoa.mm b/intern/ghost/intern/GHOST_SystemCocoa.mm index 86edbb95e30..145724fb9e6 100644 --- a/intern/ghost/intern/GHOST_SystemCocoa.mm +++ b/intern/ghost/intern/GHOST_SystemCocoa.mm @@ -423,7 +423,7 @@ static GHOST_TKey convertKey(int rawCode, unichar recvChar, UInt16 keyAction) #pragma mark defines for 10.6 api not documented in 10.5 -#if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_5 +#if MAC_OS_X_VERSION_MIN_REQUIRED <= MAC_OS_X_VERSION_10_5 and 0 enum { /* The following event types are available on some hardware on 10.5.2 and later */ NSEventTypeGesture = 29,