summaryrefslogtreecommitdiff
path: root/chilldebug.h
diff options
context:
space:
mode:
authordhuth <derickhuth@gmail.com>2014-08-27 09:52:06 -0600
committerdhuth <derickhuth@gmail.com>2014-08-27 09:52:06 -0600
commitbff810cc371a38f493d688c54f71013f5a7d53bf (patch)
treefbe86954bb3c01deb21da9e41ebff5baa2889a45 /chilldebug.h
downloadchill-bff810cc371a38f493d688c54f71013f5a7d53bf.tar.gz
chill-bff810cc371a38f493d688c54f71013f5a7d53bf.tar.bz2
chill-bff810cc371a38f493d688c54f71013f5a7d53bf.zip
Initial commit
Diffstat (limited to 'chilldebug.h')
-rw-r--r--chilldebug.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/chilldebug.h b/chilldebug.h
new file mode 100644
index 0000000..4abbb82
--- /dev/null
+++ b/chilldebug.h
@@ -0,0 +1,11 @@
+
+// a central place to turn on debugging messages
+
+// enable the next line to get lots of output
+//#define DEBUGCHILL
+
+#ifdef DEBUGCHILL
+#define DEBUG_PRINT(args...) fprintf(stderr, args )
+#else
+#define DEBUG_PRINT(args...) /* Don't do anything */
+#endif