aboutsummaryrefslogtreecommitdiffstats
path: root/os/nil/include/nil.h
diff options
context:
space:
mode:
Diffstat (limited to 'os/nil/include/nil.h')
-rw-r--r--os/nil/include/nil.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/os/nil/include/nil.h b/os/nil/include/nil.h
index 29ac77b3b..f815b2153 100644
--- a/os/nil/include/nil.h
+++ b/os/nil/include/nil.h
@@ -256,7 +256,7 @@ typedef struct nil_thread thread_t;
"be zero or greater than one"
#endif
-#if NIL_CFG_ENABLE_ASSERTS
+#if NIL_CFG_ENABLE_ASSERTS || NIL_CFG_ENABLE_STACK_CHECK
#define NIL_DBG_ENABLED TRUE
#else
#define NIL_DBG_ENABLED FALSE