1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-26 01:37:35 +00:00

LibC: Define static_assert in assert.h when it's being used in C

This commit is contained in:
Mițca Dumitru 2021-03-07 16:54:38 +02:00 committed by Andreas Kling
parent 8cc279ed74
commit 35829304d6

View file

@ -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