mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 21:37:35 +00:00
AK: Apply changes for the Bootstrapper environment
This commit is contained in:
parent
88cf46dc98
commit
8bdb08c354
11 changed files with 43 additions and 37 deletions
|
@ -28,16 +28,17 @@
|
|||
|
||||
#ifndef AK_TEST_SUITE
|
||||
|
||||
#ifdef KERNEL
|
||||
# include <Kernel/Assertions.h>
|
||||
#else
|
||||
# include <assert.h>
|
||||
# ifndef __serenity__
|
||||
# define ASSERT assert
|
||||
# define ASSERT_NOT_REACHED() assert(false)
|
||||
# define RELEASE_ASSERT assert
|
||||
# if defined(KERNEL)
|
||||
# include <Kernel/Assertions.h>
|
||||
# elif defined(BOOTSTRAPPER)
|
||||
# include <Bootstrapper/Output/Assertions.h>
|
||||
# else
|
||||
# include <assert.h>
|
||||
# ifndef __serenity__
|
||||
# define ASSERT assert
|
||||
# define ASSERT_NOT_REACHED() assert(false)
|
||||
# define RELEASE_ASSERT assert
|
||||
# endif
|
||||
# endif
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue