Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDalai Felinto <dfelinto@gmail.com>2012-11-06 23:26:45 +0400
committerDalai Felinto <dfelinto@gmail.com>2012-11-06 23:26:45 +0400
commit1c6c3ead4f689d1b282ceec2b2756438abc0e11c (patch)
treeb8043ef4c2165698bdabb49c7c7f869ebf931699
parent04bea047b5ada4b46f97043b451dba8bfac0b15c (diff)
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
-rw-r--r--intern/ghost/intern/GHOST_SystemCocoa.mm2
1 files changed, 1 insertions, 1 deletions
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,