summaryrefslogtreecommitdiff
path: root/daemon/usuals.h
diff options
context:
space:
mode:
Diffstat (limited to 'daemon/usuals.h')
-rw-r--r--daemon/usuals.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/daemon/usuals.h b/daemon/usuals.h
index 22dcb3a..e14ecf5 100644
--- a/daemon/usuals.h
+++ b/daemon/usuals.h
@@ -28,4 +28,11 @@
#define countof(x) (sizeof(x) / sizeof(x[0]))
+#ifdef _DEBUG
+ #include "assert.h"
+ #define ASSERT assert
+#else
+ #define ASSERT
+#endif
+
#endif /* __USUALS_H__ */