From 87e588d4c9b1a2b0bfb936b137b3c2d5b8224059 Mon Sep 17 00:00:00 2001 From: Stefan Gartner Date: Tue, 10 Dec 2002 23:55:59 +0000 Subject: 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 --- source/blender/makesdna/intern/makesdna.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source/blender/makesdna/intern/makesdna.c') 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 */ -- cgit v1.2.3