mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-15 14:02:20 +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
Notes:
sideshowbarker
2024-07-18 09:12:05 +09:00
Author: https://github.com/ADKaster
Commit: 6ba87a6b5e
Pull-request: https://github.com/SerenityOS/serenity/pull/8675
Reviewed-by: https://github.com/gunnarbeutner ✅
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