From 210f77d2c32f14d2e99577fd3c9842bb19d47e50 Mon Sep 17 00:00:00 2001 From: Tuowen Zhao Date: Mon, 19 Sep 2016 21:14:58 +0000 Subject: Moved most modules into lib --- include/chilldebug.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 include/chilldebug.h (limited to 'include/chilldebug.h') diff --git a/include/chilldebug.h b/include/chilldebug.h new file mode 100644 index 0000000..865f1f6 --- /dev/null +++ b/include/chilldebug.h @@ -0,0 +1,15 @@ + +// a central place to turn on debugging messages + +// enable the next line to get lots of output +//#define DEBUGCHILL +#ifndef DEBUGCHILL_H +#define DEBUGCHILL_H + +#ifdef DEBUGCHILL +#define DEBUG_PRINT(args...) fprintf(stderr, args ) +#else +#define DEBUG_PRINT(args...) do {} while(0) /* Don't do anything */ +#endif + +#endif -- cgit v1.2.3-70-g09d2