From 4cca1803c274ab0eff544926c8297f1bf9be7e48 Mon Sep 17 00:00:00 2001 From: Tiago Castro Date: Mon, 22 Apr 2024 00:22:26 +0100 Subject: [PATCH] test: add fake assert macro Signed-off-by: Tiago Castro --- include/spdk/assert.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/include/spdk/assert.h b/include/spdk/assert.h index 4c140c84c8d..175a0b39e43 100644 --- a/include/spdk/assert.h +++ b/include/spdk/assert.h @@ -12,6 +12,10 @@ #include "spdk/stdinc.h" +#ifndef assert +#define assert(expression) ((void)0) +#endif + #ifdef __cplusplus extern "C" { #endif