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