summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorlulf@carrot.studby.ntnu.no <lulf@carrot.studby.ntnu.no>2008-04-25 14:09:23 +0200
committerlulf@carrot.studby.ntnu.no <lulf@carrot.studby.ntnu.no>2008-04-25 14:09:23 +0200
commitb72c4650d1bc4dde150ee9ff4f0457394b7bf4a3 (patch)
tree9740c53d7548af92ec87578d09d55cf6c08d509b /include
parent0e11f57efb4ccb0460db3f045b21fc9729b6b656 (diff)
parent0463d0da9b7f118a6c2abe5065140913a50a6e76 (diff)
- Merge.
Diffstat (limited to 'include')
-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