summaryrefslogtreecommitdiff
path: root/src/include/assert.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/assert.h')
-rw-r--r--src/include/assert.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/assert.h b/src/include/assert.h
index 4692ed0744..d34d557e06 100644
--- a/src/include/assert.h
+++ b/src/include/assert.h
@@ -23,7 +23,7 @@
// ROMCC doesn't support __FILE__ or __LINE__ :^{
-#if DEBUG
+#if CONFIG_DEBUG
#ifdef __ROMCC__
#define ASSERT(x) { if (!(x)) die("ASSERT failure!\r\n"); }
#else
@@ -35,7 +35,7 @@
} \
}
#endif // __ROMCC__
-#else // !DEBUG
+#else // !CONFIG_DEBUG
#define ASSERT(x) { }
#endif