diff options
Diffstat (limited to 'src/kernel/panic.h')
-rw-r--r-- | src/kernel/panic.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/kernel/panic.h b/src/kernel/panic.h index 4e591f1..12c0d64 100644 --- a/src/kernel/panic.h +++ b/src/kernel/panic.h @@ -1,4 +1,5 @@ #pragma once +#include <assert.h> #include <kernel/arch/generic.h> #include <kernel/util.h> @@ -12,6 +13,3 @@ #define panic_invalid_state() _panic("invalid state") #define panic_unimplemented() _panic("unimplemented") -#define assert(stmt) do { if (!(stmt)) _panic("assert"); } while (0) - -#undef panic |