mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 09:24:57 +00:00
AK: Always define ak_assertion_failed, even when NDEBUG is false
Just because we may compile serenity with or without NDEBUG doesn't mean that consuming projects or Ports will share the setting. Always define the custom assertion function so that we don't have to keep the same debug settings between all projects.
This commit is contained in:
parent
17965f4d2d
commit
012aaecccf
2 changed files with 2 additions and 2 deletions
|
@ -7,7 +7,7 @@
|
|||
#include <AK/Assertions.h>
|
||||
#include <AK/Format.h>
|
||||
|
||||
#if !defined(KERNEL) && defined(NDEBUG)
|
||||
#if !defined(KERNEL)
|
||||
extern "C" {
|
||||
|
||||
void ak_verification_failed(char const* message)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue