summaryrefslogtreecommitdiffstats
path: root/vppinfra
diff options
context:
space:
mode:
Diffstat (limited to 'vppinfra')
-rw-r--r--vppinfra/vppinfra/error_bootstrap.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/vppinfra/vppinfra/error_bootstrap.h b/vppinfra/vppinfra/error_bootstrap.h
index 3fa0a18ec9f..ad600621eae 100644
--- a/vppinfra/vppinfra/error_bootstrap.h
+++ b/vppinfra/vppinfra/error_bootstrap.h
@@ -79,6 +79,8 @@ do { \
} \
} while (0)
+#define STATIC_ASSERT(truth,...) _Static_assert(truth, __VA_ARGS__)
+
/* Assert without allocating memory. */
#define ASSERT_AND_PANIC(truth) \
do { \