diff --git a/src/doomdef.h b/src/doomdef.h index d1ad93fcc7ec1c3fc28cd55f59999f954d7dd2b5..1b0e76314b13d080fc18c8f3463c066616c4b8c8 100644 --- a/src/doomdef.h +++ b/src/doomdef.h @@ -649,7 +649,7 @@ UINT32 quickncasehash (const char *p, size_t n) #else #define I_Assert(e) ((void)0) #endif -#define I_StaticAssert(e) static_assert(e) +#define I_StaticAssert(e) static_assert(e, "Static assertion failed: " #e) // The character that separates pathnames. Forward slash on // most systems, but reverse solidus (\) on Windows.