diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2016-09-19 21:14:58 +0000 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2016-09-19 21:14:58 +0000 |
commit | 210f77d2c32f14d2e99577fd3c9842bb19d47e50 (patch) | |
tree | 5edb327c919b8309e301c3440fb6668a0075c8ef /include/chilldebug.h | |
parent | a66ce5cd670c4d3c0dc449720f5bc45dd4c281b8 (diff) | |
download | chill-210f77d2c32f14d2e99577fd3c9842bb19d47e50.tar.gz chill-210f77d2c32f14d2e99577fd3c9842bb19d47e50.tar.bz2 chill-210f77d2c32f14d2e99577fd3c9842bb19d47e50.zip |
Moved most modules into lib
Diffstat (limited to 'include/chilldebug.h')
-rw-r--r-- | include/chilldebug.h | 15 |
1 files changed, 15 insertions, 0 deletions
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 |