diff options
author | Tuowen Zhao <ztuowen@gmail.com> | 2016-09-17 18:58:56 -0600 |
---|---|---|
committer | Tuowen Zhao <ztuowen@gmail.com> | 2016-09-17 18:58:56 -0600 |
commit | bdaf6dc251d98fc1c93165fa8579378204b395e1 (patch) | |
tree | ef961130983342c2615a0a84c8f754a017449312 /chill/include/chilldebug.h | |
parent | 8ef3af85585446d897ae292476f433fb6db20c0c (diff) | |
download | chill-bdaf6dc251d98fc1c93165fa8579378204b395e1.tar.gz chill-bdaf6dc251d98fc1c93165fa8579378204b395e1.tar.bz2 chill-bdaf6dc251d98fc1c93165fa8579378204b395e1.zip |
chill doc
Diffstat (limited to 'chill/include/chilldebug.h')
-rw-r--r-- | chill/include/chilldebug.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chill/include/chilldebug.h b/chill/include/chilldebug.h index 4abbb82..865f1f6 100644 --- a/chill/include/chilldebug.h +++ b/chill/include/chilldebug.h @@ -3,9 +3,13 @@ // 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...) /* Don't do anything */ +#define DEBUG_PRINT(args...) do {} while(0) /* Don't do anything */ +#endif + #endif |