diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-01-10 20:37:48 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-01-10 20:37:48 +0400 |
commit | 18536e201f26f20bde6379afa996153433404c65 (patch) | |
tree | 092fee45425217006de6d36ba26c110831c0cabe /source/blender/blenloader | |
parent | f6f33515ac62fb603ceba0eeaf79047b4451f754 (diff) |
add a segfault handler that writes out the info log into a crash file alongside the blend file.
Diffstat (limited to 'source/blender/blenloader')
-rw-r--r-- | source/blender/blenloader/intern/runtime.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/source/blender/blenloader/intern/runtime.c b/source/blender/blenloader/intern/runtime.c index 5d8a865eea8..cbbaf713e84 100644 --- a/source/blender/blenloader/intern/runtime.c +++ b/source/blender/blenloader/intern/runtime.c @@ -48,11 +48,12 @@ #include "BLO_readfile.h" #include "BLO_runtime.h" +#include "BLI_blenlib.h" +#include "BLI_utildefines.h" + #include "BKE_blender.h" #include "BKE_report.h" -#include "BLI_blenlib.h" - /* Runtime reading */ static int handle_read_msb_int(int handle) |