From c044f5dd653ffecb7fd54486a361deb20d02d9e0 Mon Sep 17 00:00:00 2001 From: blueloveTH Date: Wed, 8 Jan 2025 18:40:05 +0800 Subject: [PATCH] ... --- include/pocketpy/common/utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/pocketpy/common/utils.h b/include/pocketpy/common/utils.h index acea6317..b4a158e0 100644 --- a/include/pocketpy/common/utils.h +++ b/include/pocketpy/common/utils.h @@ -51,6 +51,6 @@ typedef struct RefCounted { // static assert #ifndef __cplusplus #ifndef static_assert - #define static_assert(x, msg) if(!(x)) c11__abort(msg) + #define static_assert(x, msg) if(!(x)) c11__abort("static_assert failed: %s", msg) #endif #endif