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:
authorCampbell Barton <ideasman42@gmail.com>2012-09-04 02:04:14 +0400
committerCampbell Barton <ideasman42@gmail.com>2012-09-04 02:04:14 +0400
commitaaafa0c2fe2fefacd454e7c4ca30122be2206923 (patch)
treeed0caa3e89f884df46929197cc2c2f38329e95aa /source/blender/blenlib/BLI_path_util.h
parentf8c29c999f0f0a6ed7e8a8ba1de444fdc5bdd3f2 (diff)
code cleanup: move file string defines into BLI_path_utils.h, BKE_utildefines is now unused but keep incase we want to add defines there later.
Diffstat (limited to 'source/blender/blenlib/BLI_path_util.h')
-rw-r--r--source/blender/blenlib/BLI_path_util.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_path_util.h b/source/blender/blenlib/BLI_path_util.h
index 35d7b8d9444..4bd21139545 100644
--- a/source/blender/blenlib/BLI_path_util.h
+++ b/source/blender/blenlib/BLI_path_util.h
@@ -193,6 +193,14 @@ void BLI_system_temporary_dir(char *dir);
void BLI_string_to_utf8(char *original, char *utf_8, const char *code);
#endif
+/* these values need to be hardcoded in structs, dna does not recognize defines */
+/* also defined in DNA_space_types.h */
+#ifndef FILE_MAXDIR
+# define FILE_MAXDIR 768
+# define FILE_MAXFILE 256
+# define FILE_MAX 1024
+#endif
+
#ifdef __cplusplus
}
#endif