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:
authorJens Verwiebe <info@jensverwiebe.de>2013-10-14 19:37:16 +0400
committerJens Verwiebe <info@jensverwiebe.de>2013-10-14 19:37:16 +0400
commitac9f3e33d5ba039615a632ee0cf0ed3bbfacb799 (patch)
tree5fbf32effcdbfb83b92373277c8b1f6c58ad28ba /source/blender/editors/space_file/fsmenu.c
parentbca37c29d8b43f8e3cc85a435b46c4e42f55017b (diff)
OSX/fs_menue: change the availability macros, so ppl could still compile on 10.5 by just also using 10.4 code then
Diffstat (limited to 'source/blender/editors/space_file/fsmenu.c')
-rw-r--r--source/blender/editors/space_file/fsmenu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/editors/space_file/fsmenu.c b/source/blender/editors/space_file/fsmenu.c
index 6237492f711..172488f2c57 100644
--- a/source/blender/editors/space_file/fsmenu.c
+++ b/source/blender/editors/space_file/fsmenu.c
@@ -350,7 +350,7 @@ void fsmenu_read_system(struct FSMenu *fsmenu, int read_bookmarks)
#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 @@ void fsmenu_read_system(struct FSMenu *fsmenu, int read_bookmarks)
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 @@ void fsmenu_read_system(struct FSMenu *fsmenu, int read_bookmarks)
CFRelease(pathesArray);
CFRelease(list);
}
-#endif /* OSX 10.5+ */
+#endif /* OSX 10.6+ */
}
#else
/* unix */