diff options
Diffstat (limited to 'lib/birdlib.h')
-rw-r--r-- | lib/birdlib.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/birdlib.h b/lib/birdlib.h index fd20ef3a..6240c343 100644 --- a/lib/birdlib.h +++ b/lib/birdlib.h @@ -74,6 +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__) + #ifndef HAVE_THREAD_LOCAL #define _Thread_local #endif |