diff --git a/Userland/Libraries/LibC/assert.h b/Userland/Libraries/LibC/assert.h index 9515210309..572a35632a 100644 --- a/Userland/Libraries/LibC/assert.h +++ b/Userland/Libraries/LibC/assert.h @@ -52,4 +52,8 @@ __attribute__((noreturn)) void __assertion_failed(const char* msg); #define VERIFY assert #define TODO VERIFY_NOT_REACHED +#ifndef __cplusplus +# define static_assert _Static_assert +#endif + __END_DECLS