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
This commit is contained in:
@@ -874,7 +874,9 @@ int make_structDNA(FILE *file)
|
|||||||
// the defines above shouldn't be output in the padding file...
|
// the defines above shouldn't be output in the padding file...
|
||||||
firststruct = nr_types;
|
firststruct = nr_types;
|
||||||
|
|
||||||
|
#ifndef BASE_HEADER
|
||||||
#define BASE_HEADER "../"
|
#define BASE_HEADER "../"
|
||||||
|
#endif
|
||||||
|
|
||||||
/* add all include files defined in the global array */
|
/* add all include files defined in the global array */
|
||||||
/* Since the internal file+path name buffer has limited length, I do a */
|
/* Since the internal file+path name buffer has limited length, I do a */
|
||||||
|
Reference in New Issue
Block a user