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 22, 2024
1 parent 474a3c3 commit 4cca180
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 4cca180

Please sign in to comment.