From bdaf6dc251d98fc1c93165fa8579378204b395e1 Mon Sep 17 00:00:00 2001 From: Tuowen Zhao Date: Sat, 17 Sep 2016 18:58:56 -0600 Subject: chill doc --- chill/include/chilldebug.h | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'chill/include/chilldebug.h') 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 -- cgit v1.2.3-70-g09d2