1
Fork 0
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:
Liav A 2020-02-09 16:50:13 +02:00 committed by Andreas Kling
parent 88cf46dc98
commit 8bdb08c354
11 changed files with 43 additions and 37 deletions

View file

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