2018-10-10 09:53:07 +00:00
|
|
|
#pragma once
|
|
|
|
|
2018-10-28 08:36:21 +00:00
|
|
|
#ifdef KERNEL
|
2019-04-03 10:51:10 +00:00
|
|
|
#include <Kernel/Assertions.h>
|
2018-10-16 11:59:28 +00:00
|
|
|
#else
|
2019-04-20 10:58:02 +00:00
|
|
|
#include <assert.h>
|
|
|
|
#ifndef __serenity__
|
|
|
|
#define ASSERT assert
|
|
|
|
#define ASSERT_NOT_REACHED assert(false)
|
|
|
|
#endif
|
2018-10-28 08:36:21 +00:00
|
|
|
#endif
|
2018-10-10 09:53:07 +00:00
|
|
|
|
|
|
|
namespace AK {
|
|
|
|
|
2019-01-31 16:31:23 +00:00
|
|
|
inline void not_implemented() { ASSERT(false); }
|
2018-10-10 09:53:07 +00:00
|
|
|
|
|
|
|
}
|
|
|
|
|
2019-01-31 16:31:23 +00:00
|
|
|
using AK::not_implemented;
|
2018-10-10 09:53:07 +00:00
|
|
|
|