mirror of
https://github.com/SerenityOS/serenity
synced 2024-09-06 17:06:31 +00:00
AK: Make ASSERT_NOT_REACHED() work nicely in host builds.
This commit is contained in:
parent
ee347effac
commit
28a4963242
|
@ -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