Skip to content
Snippets Groups Projects
Commit ee9516db authored by Ondřej Zajíček's avatar Ondřej Zajíček
Browse files

Lib: Fix static assert macro

parent b174cc0a
No related branches found
No related tags found
No related merge requests found
Pipeline #83047 failed
......@@ -74,7 +74,8 @@ static inline int u64_cmp(u64 i1, u64 i2)
#define PACKED __attribute__((packed))
#define NONNULL(...) __attribute__((nonnull((__VA_ARGS__))))
#define STATIC_ASSERT(...) _Static_assert(__VA_ARGS__)
#define STATIC_ASSERT(EXP) _Static_assert(EXP, #EXP)
#define STATIC_ASSERT_MSG(EXP,MSG) _Static_assert(EXP, MSG)
#ifndef HAVE_THREAD_LOCAL
#define _Thread_local
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment