diff options
Diffstat (limited to 'src/common/c_common.h')
-rwxr-xr-x | src/common/c_common.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/c_common.h b/src/common/c_common.h index 3e43644f..8a970e6e 100755 --- a/src/common/c_common.h +++ b/src/common/c_common.h @@ -50,3 +50,5 @@ typedef void* c_pvoid; #endif #endif + +#define ASSERT_MSG(cond, msg) if (!(cond)) {std::cerr << msg << std::endl; exit(-1);} |