AK: Make ASSERT_NOT_REACHED() work nicely in host builds.

This commit is contained in:
Andreas Kling 2019-06-18 08:52:21 +02:00
parent ee347effac
commit 28a4963242
Notes: sideshowbarker 2024-07-19 13:33:27 +09:00

View file

@ -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