From 07c0b102804e70264b5656b0c73a1c39f947eeff Mon Sep 17 00:00:00 2001 From: Andreew Gregory Date: Tue, 7 Apr 2026 23:10:49 +0300 Subject: [PATCH] I spent the whole evening debugging this crap --- console.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/console.h b/console.h index 1c483c7..e7cbe39 100644 --- a/console.h +++ b/console.h @@ -3,8 +3,4 @@ void printk(const char *msg); _Noreturn void panic(const char *msg); -#define check(expr) \ - if (!(expr)) { \ - panic("Assertion failed at " __FILE__ " : " \ - " : " #expr "\n"); \ - } \ No newline at end of file +#define check(expr) if (!(expr)) {panic("Assertion failed at " __FILE__ " : " #expr "\n");} \ No newline at end of file