summaryrefslogtreecommitdiff
path: root/AK/Assertions.h
blob: 7e5793f4df9e16d76e147091f9d8f094a4285e03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#pragma once

#ifndef AK_TEST_SUITE

#ifdef KERNEL
#    include <Kernel/Assertions.h>
#else
#    include <assert.h>
#    ifndef __serenity__
#        define ASSERT assert
#        define ASSERT_NOT_REACHED() assert(false)
#        define RELEASE_ASSERT assert
#    endif
#endif

#endif