Skip to content

Commit

Permalink
test: add fake assert macro
Browse files Browse the repository at this point in the history
Signed-off-by: Tiago Castro <[email protected]>
  • Loading branch information
tiagolobocastro committed Apr 23, 2024
1 parent ac3db7f commit 2a91845
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions include/spdk/assert.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,10 @@

#include "spdk/stdinc.h"

#ifndef assert
#define assert(expression) ((void)0)
#endif

#ifdef __cplusplus
extern "C" {
#endif
Expand Down

0 comments on commit 2a91845

Please sign in to comment.