mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 04:17:34 +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
|
@ -10,7 +10,7 @@
|
|||
|
||||
__BEGIN_DECLS
|
||||
|
||||
#ifdef DEBUG
|
||||
#ifndef NDEBUG
|
||||
__attribute__((noreturn)) void __assertion_failed(const char* msg);
|
||||
# define __stringify_helper(x) # x
|
||||
# define __stringify(x) __stringify_helper(x)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue