From 2d11cfdfcfc9c80de467200df517a706490cfd80 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Wed, 10 Jul 2024 05:45:15 +0200 Subject: Use abort in bx_assert --- bxgen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bxgen.c b/bxgen.c index efb38d4..4a1ba2c 100755 --- a/bxgen.c +++ b/bxgen.c @@ -1474,7 +1474,7 @@ void bx_assert(b8 condition, c8 const *message, u32 line, c8 const *file) { fflush(stdout); fprintf(stderr, "\r\x1b[31mASSERTION:\x1b[37m `\x1b[33m%s\x1b[37m` is false in \x1b[36m%s:%d\x1b[37m\n", message, file, line); - exit(-1); + abort(); } // IO dispatch procedure -- cgit v1.2.3