diff options
author | Campbell Barton <ideasman42@gmail.com> | 2020-08-06 13:17:44 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2020-08-06 15:49:28 +0300 |
commit | ba20da7214e0a71e843b0a6a8b11e0173599a0f0 (patch) | |
tree | 5fb2cc754fb0c2e2797aa42c1fa9a1ebffe5cb5d /source/blender/makesrna/intern/makesrna.c | |
parent | 73a43c9d8acfdb81aa324012bb30cae10c52f186 (diff) |
Cleanup: avoid debug-only includes for BLI_assert.h
Having includes in debug builds makes it possible to accidentally
break release builds.
Avoid this by moving calls to other modules out of BLI_assert.h
into BLI_assert.c
Diffstat (limited to 'source/blender/makesrna/intern/makesrna.c')
-rw-r--r-- | source/blender/makesrna/intern/makesrna.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/makesrna/intern/makesrna.c b/source/blender/makesrna/intern/makesrna.c index 045d098bf6a..b7f0fb87536 100644 --- a/source/blender/makesrna/intern/makesrna.c +++ b/source/blender/makesrna/intern/makesrna.c @@ -29,6 +29,7 @@ #include "MEM_guardedalloc.h" +#include "BLI_system.h" /* for 'BLI_system_backtrace' stub. */ #include "BLI_utildefines.h" #include "RNA_define.h" |