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:
authorDamien Plisson <damien.plisson@yahoo.fr>2010-07-06 23:42:06 +0400
committerDamien Plisson <damien.plisson@yahoo.fr>2010-07-06 23:42:06 +0400
commite64f3dd4d5565fbed17604b220c516b30546d31b (patch)
tree01f61f1a88b8f9988729af60a328bca830b5ba4c /source/blender/blenlib
parentcfc35a4d30ae03aa4a032189d72e91c5d0d17a1d (diff)
File/installation paths: fix path of startup.blend for OSX
Also fix the header file no reinclusion macro name Thanks to Jens Verwiebe for the patch
Diffstat (limited to 'source/blender/blenlib')
-rw-r--r--source/blender/blenlib/BLI_path_util.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/source/blender/blenlib/BLI_path_util.h b/source/blender/blenlib/BLI_path_util.h
index d149f15cd35..866201cba52 100644
--- a/source/blender/blenlib/BLI_path_util.h
+++ b/source/blender/blenlib/BLI_path_util.h
@@ -30,8 +30,8 @@
*
* ***** END GPL LICENSE BLOCK *****
*/
-#ifndef BLI_UTIL_H
-#define BLI_UTIL_H
+#ifndef BLI_PATH_UTIL_H
+#define BLI_PATH_UTIL_H
#ifdef __cplusplus
extern "C" {
@@ -102,6 +102,8 @@ char *BLI_get_folder_create(int folder_id, char *subfolder);
#ifdef WIN32
#define BLENDER_BASE_FORMAT "%s\\Blender Foundation\\Blender\\%s"
+#elif __APPLE__
+#define BLENDER_BASE_FORMAT "%s/Blender/%s"
#else
#define BLENDER_BASE_FORMAT "%s/.blender/%s"
#endif