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
path: root/source
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2010-07-04 20:34:24 +0400
committerTon Roosendaal <ton@blender.org>2010-07-04 20:34:24 +0400
commit790491b0f0e5d419dc8b0b04cf5a501357053a38 (patch)
tree955dfb57fd4707a585dc648a4aaac79dccee2a55 /source
parentcc68f45502a0e6f94715eb61898b17fdfeba1da9 (diff)
Fix for paths commit from Andrea:
For Mac, there was no code supporting Carbon. Added a stubs function to make it compile, but it doesn't work yet properly.
Diffstat (limited to 'source')
-rw-r--r--source/blender/blenlib/intern/path_util.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/source/blender/blenlib/intern/path_util.c b/source/blender/blenlib/intern/path_util.c
index b43da1cf9bd..4d21cb853f8 100644
--- a/source/blender/blenlib/intern/path_util.c
+++ b/source/blender/blenlib/intern/path_util.c
@@ -1015,6 +1015,15 @@ static int get_knownfolder_path(char *path, int folder)
}
#endif
+#if defined(__APPLE__)
+#ifndef WITH_COCOA
+const char* BLI_osx_getBasePath(basePathesTypes pathType)
+{
+ return "/tmp/";
+}
+#endif
+#endif
+
static int get_path_user(char *targetpath, char *folder_name, char *envvar)
{
char user_path[FILE_MAX];