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