summaryrefslogtreecommitdiff
path: root/src/sna/xassert.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sna/xassert.h')
-rw-r--r--src/sna/xassert.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/sna/xassert.h b/src/sna/xassert.h
index bac70b8a..28796b8a 100644
--- a/src/sna/xassert.h
+++ b/src/sna/xassert.h
@@ -52,8 +52,14 @@
__warn_once__ = 1; \
} \
} while (0)
+
+#define dbg(EXPR) EXPR
+
#else
+
#define warn_unless(E)
+#define dbg(EXPR)
+
#endif
#endif /* __XASSERT_H__ */