mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 03:57:44 +00:00
LibC: Use correct macro to disable assert()
The C standard doesn't say anything about DEBUG, just NDEBUG :^)
This commit is contained in:
parent
67e3daa679
commit
6ba87a6b5e
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue