The C standard doesn't say anything about DEBUG, just NDEBUG :^)
@@ -16,7 +16,7 @@
extern "C" {
extern bool __stdio_is_initialized;
-#ifdef DEBUG
+#ifndef NDEBUG
void __assertion_failed(const char* msg)
{
dbgln("USERSPACE({}) ASSERTION FAILED: {}", getpid(), msg);
@@ -10,7 +10,7 @@
__BEGIN_DECLS
__attribute__((noreturn)) void __assertion_failed(const char* msg);
# define __stringify_helper(x) # x
# define __stringify(x) __stringify_helper(x)