1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 06:17:35 +00:00

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

View file

@ -6,7 +6,7 @@
# include <assert.h> # include <assert.h>
# ifndef __serenity__ # ifndef __serenity__
# define ASSERT assert # define ASSERT assert
# define ASSERT_NOT_REACHED assert(false) # define ASSERT_NOT_REACHED() assert(false)
# endif # endif
#endif #endif