summaryrefslogtreecommitdiffstats
path: root/src/common
diff options
context:
space:
mode:
Diffstat (limited to 'src/common')
-rwxr-xr-xsrc/common/c_common.h2
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);}