summaryrefslogtreecommitdiff
path: root/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'debug.h')
-rw-r--r--debug.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/debug.h b/debug.h
new file mode 100644
index 0000000..ce92cec
--- /dev/null
+++ b/debug.h
@@ -0,0 +1,10 @@
+#ifndef DEBUG_H
+#define DEBUG_H
+
+#ifdef DEBUG
+#define debug(x...) printf(x)
+#else
+#define debug(x...)
+#endif
+
+#endif /* DEBUG_H */