diff options
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 |