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:
authorStefan Gartner <stefang@aon.at>2002-12-11 02:55:59 +0300
committerStefan Gartner <stefang@aon.at>2002-12-11 02:55:59 +0300
commit87e588d4c9b1a2b0bfb936b137b3c2d5b8224059 (patch)
tree5a234ebf05cd59e8e2c449f07c8549107fa94721 /source/blender/makesdna/intern/makesdna.c
parent662b586185a950567cadd669c0db2be26cc4cd4c (diff)
compile and run source/blender/makesdna/intern/makesdna to (re)create
source/blender/makesdna/intern/dna.c This should fix the segfault at startup for non-x86 systems (tested on linux/ppc and linux/x86). I would be glad if someone could check if it works on other systems as well. sgefant
Diffstat (limited to 'source/blender/makesdna/intern/makesdna.c')
-rw-r--r--source/blender/makesdna/intern/makesdna.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/source/blender/makesdna/intern/makesdna.c b/source/blender/makesdna/intern/makesdna.c
index ddfd822b56d..0be86f53f56 100644
--- a/source/blender/makesdna/intern/makesdna.c
+++ b/source/blender/makesdna/intern/makesdna.c
@@ -874,7 +874,9 @@ int make_structDNA(FILE *file)
// the defines above shouldn't be output in the padding file...
firststruct = nr_types;
+#ifndef BASE_HEADER
#define BASE_HEADER "../"
+#endif
/* add all include files defined in the global array */
/* Since the internal file+path name buffer has limited length, I do a */