mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 23:17:45 +00:00
Get rid of SERENITY macro since the compiler already defines __serenity__
This makes it a bit easier to use AK templates out-of-tree.
This commit is contained in:
parent
6aead8998a
commit
301a269ca0
27 changed files with 39 additions and 60 deletions
|
@ -3,7 +3,11 @@
|
|||
#ifdef KERNEL
|
||||
#include <Kernel/Assertions.h>
|
||||
#else
|
||||
#include <LibC/assert.h>
|
||||
#include <assert.h>
|
||||
#ifndef __serenity__
|
||||
#define ASSERT assert
|
||||
#define ASSERT_NOT_REACHED assert(false)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
namespace AK {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue