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
This commit is contained in:
Dalai Felinto
2012-11-06 19:26:45 +00:00
parent 04bea047b5
commit 1c6c3ead4f

View File

@@ -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 #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 { enum {
/* The following event types are available on some hardware on 10.5.2 and later */ /* The following event types are available on some hardware on 10.5.2 and later */
NSEventTypeGesture = 29, NSEventTypeGesture = 29,