mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-25 00:50:22 +00:00
AK: Make ASSERT_NOT_REACHED() work nicely in host builds.
This commit is contained in:
parent
ee347effac
commit
28a4963242
Notes:
sideshowbarker
2024-07-19 13:33:27 +09:00
Author: https://github.com/awesomekling Commit: https://github.com/SerenityOS/serenity/commit/28a49632422
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@
|
|||
# include <assert.h>
|
||||
# ifndef __serenity__
|
||||
# define ASSERT assert
|
||||
# define ASSERT_NOT_REACHED assert(false)
|
||||
# define ASSERT_NOT_REACHED() assert(false)
|
||||
# endif
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Reference in a new issue