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:
Diffstat (limited to 'source/blender/blenlib/BLI_path_util.h')
-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