diff options
Diffstat (limited to 'tests/test_tio.c')
-rw-r--r-- | tests/test_tio.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/test_tio.c b/tests/test_tio.c index 82586e4..6f4410d 100644 --- a/tests/test_tio.c +++ b/tests/test_tio.c @@ -36,9 +36,13 @@ #include "common/tio.h" +#ifndef __ASSERT_FUNCTION +#define __ASSERT_FUNCTION "" +#endif /* not __ASSERT_FUNCTION */ + #define assertok(expr) \ ((expr) \ - ? __ASSERT_VOID_CAST (0) \ + ? (void) (0) \ : __assertok_fail(__STRING(expr),__FILE__,__LINE__,__ASSERT_FUNCTION)) static void __assertok_fail(const char *expr,const char *file, |