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