summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKjetil Ørbekk <orbekk@pvv.ntnu.no>2008-04-25 14:02:53 +0200
committerKjetil Ørbekk <orbekk@pvv.ntnu.no>2008-04-25 14:02:53 +0200
commit0463d0da9b7f118a6c2abe5065140913a50a6e76 (patch)
tree630d0269fc47ce5ec81034b33baddfd7f2605ba5 /include
parent9a21927ac4cdd497f3fbc84df3717748c4cb10a8 (diff)
- Added debug.h
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