[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [60748] trunk/blender/source/blender/ editors/space_file/fsmenu.c: OSX/fs_menue: change the availability macros, so ppl could still compile on 10.5 by just also using 10.4 code then
jens verwiebe
info at jensverwiebe.de
Mon Oct 14 17:37:16 CEST 2013
Revision: 60748
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=60748
Author: jensverwiebe
Date: 2013-10-14 15:37:16 +0000 (Mon, 14 Oct 2013)
Log Message:
-----------
OSX/fs_menue: change the availability macros, so ppl could still compile on 10.5 by just also using 10.4 code then
Modified Paths:
--------------
trunk/blender/source/blender/editors/space_file/fsmenu.c
Modified: trunk/blender/source/blender/editors/space_file/fsmenu.c
===================================================================
--- trunk/blender/source/blender/editors/space_file/fsmenu.c 2013-10-14 11:42:36 UTC (rev 60747)
+++ trunk/blender/source/blender/editors/space_file/fsmenu.c 2013-10-14 15:37:16 UTC (rev 60748)
@@ -350,7 +350,7 @@
#else
#ifdef __APPLE__
{
-#if (MAC_OS_X_VERSION_MIN_REQUIRED <= 1040)
+#if (MAC_OS_X_VERSION_MIN_REQUIRED <= 1050)
OSErr err = noErr;
int i;
const char *home;
@@ -399,8 +399,8 @@
fsmenu_insert_entry(fsmenu, FS_CATEGORY_SYSTEM_BOOKMARKS, line, FS_INSERT_SORTED);
}
}
-#else
- /* Get mounted volumes better method OSX 10.5 and higher, see: */
+#else /* OSX 10.6+ */
+ /* Get mounted volumes better method OSX 10.6 and higher, see: */
/*https://developer.apple.com/library/mac/#documentation/CoreFOundation/Reference/CFURLRef/Reference/reference.html*/
/* we get all volumes sorted including network and do not relay on user-defined finder visibility, less confusing */
@@ -458,7 +458,7 @@
CFRelease(pathesArray);
CFRelease(list);
}
-#endif /* OSX 10.5+ */
+#endif /* OSX 10.6+ */
}
#else
/* unix */
More information about the Bf-blender-cvs
mailing list