From e64f3dd4d5565fbed17604b220c516b30546d31b Mon Sep 17 00:00:00 2001 From: Damien Plisson Date: Tue, 6 Jul 2010 19:42:06 +0000 Subject: 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 --- source/blender/blenlib/BLI_path_util.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'source/blender') 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 -- cgit v1.2.3