diff options
author | Campbell Barton <ideasman42@gmail.com> | 2014-11-18 02:20:56 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2014-11-18 02:20:56 +0300 |
commit | 94f0d18470fc454b456f711c9d040a7fef6780fb (patch) | |
tree | 77c3a62ac3f906a1517370351056e2fa4ebb598f /source/blender/makesrna/intern | |
parent | 1e5d5085675afd1c3d6e0191e668449217f733ed (diff) |
BLI_assert: print a backtrace with the error
Add BLI_system_backtrace()
Diffstat (limited to 'source/blender/makesrna/intern')
-rw-r--r-- | source/blender/makesrna/intern/makesrna.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/makesrna.c b/source/blender/makesrna/intern/makesrna.c index 9b33e1f5c28..ca9ff499801 100644 --- a/source/blender/makesrna/intern/makesrna.c +++ b/source/blender/makesrna/intern/makesrna.c @@ -47,6 +47,14 @@ # endif #endif +/* stub for BLI_abort() */ +#ifndef NDEBUG +void BLI_system_backtrace(FILE *fp) +{ + (void)fp; +} +#endif + /* Replace if different */ #define TMP_EXT ".tmp" |