2020-01-18 08:38:21 +00:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2018-2020, Andreas Kling <kling@serenityos.org>
|
|
|
|
*
|
2021-04-22 08:24:48 +00:00
|
|
|
* SPDX-License-Identifier: BSD-2-Clause
|
2020-01-18 08:38:21 +00:00
|
|
|
*/
|
|
|
|
|
2018-10-10 09:53:07 +00:00
|
|
|
#pragma once
|
|
|
|
|
2021-02-23 07:33:03 +00:00
|
|
|
#if defined(KERNEL)
|
|
|
|
# include <Kernel/Assertions.h>
|
|
|
|
#else
|
|
|
|
# include <assert.h>
|
|
|
|
# ifndef __serenity__
|
2021-02-23 19:42:32 +00:00
|
|
|
# define VERIFY assert
|
|
|
|
# define VERIFY_NOT_REACHED() assert(false)
|
|
|
|
# define TODO VERIFY_NOT_REACHED
|
2019-05-28 09:53:16 +00:00
|
|
|
# endif
|
2019-08-02 07:23:03 +00:00
|
|
|
#endif
|