diff options
| -rw-r--r-- | src/common/assert.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/common/assert.h b/src/common/assert.h index 8ec597914..6002f7ab1 100644 --- a/src/common/assert.h +++ b/src/common/assert.h | |||
| @@ -54,3 +54,6 @@ __declspec(noinline, noreturn) | |||
| 54 | 54 | ||
| 55 | #define UNIMPLEMENTED() ASSERT_MSG(false, "Unimplemented code!") | 55 | #define UNIMPLEMENTED() ASSERT_MSG(false, "Unimplemented code!") |
| 56 | #define UNIMPLEMENTED_MSG(...) ASSERT_MSG(false, __VA_ARGS__) | 56 | #define UNIMPLEMENTED_MSG(...) ASSERT_MSG(false, __VA_ARGS__) |
| 57 | |||
| 58 | #define UNIMPLEMENTED_IF(cond) ASSERT_MSG(!(cond), "Unimplemented code!") | ||
| 59 | #define UNIMPLEMENTED_IF_MSG(cond, ...) ASSERT_MSG(!(cond), __VA_ARGS__) | ||