[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [51947] trunk/blender/intern/ghost/intern/ GHOST_SystemCocoa.mm: quick hack to allow 10.8 to build again, will wait Jens for real fix

Dalai Felinto dfelinto at gmail.com
Tue Nov 6 20:26:46 CET 2012


Revision: 51947
          http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=51947
Author:   dfelinto
Date:     2012-11-06 19:26:45 +0000 (Tue, 06 Nov 2012)
Log Message:
-----------
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

Modified Paths:
--------------
    trunk/blender/intern/ghost/intern/GHOST_SystemCocoa.mm

Modified: trunk/blender/intern/ghost/intern/GHOST_SystemCocoa.mm
===================================================================
--- trunk/blender/intern/ghost/intern/GHOST_SystemCocoa.mm	2012-11-06 18:07:17 UTC (rev 51946)
+++ trunk/blender/intern/ghost/intern/GHOST_SystemCocoa.mm	2012-11-06 19:26:45 UTC (rev 51947)
@@ -423,7 +423,7 @@
 
 
 #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,




More information about the Bf-blender-cvs mailing list