summaryrefslogtreecommitdiff
path: root/include/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/debug.h')
-rw-r--r--include/debug.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/debug.h b/include/debug.h
new file mode 100644
index 0000000..5b780bc
--- /dev/null
+++ b/include/debug.h
@@ -0,0 +1,10 @@
+#ifndef _DEBUG_H_
+#define _DEBUG_H_
+
+#ifdef DEBUGGING
+# define DEBUG(...) fprintf (stderr, __VA_ARGS__)
+#else
+# define DEBUG(...)
+#endif
+
+#endif