1 2 3 4 5 6 7 8 9 10
#ifndef DEBUG_H #define DEBUG_H #ifdef DEBUG #define debug(...) printf(__VA_ARGS__) #else #define debug(...) #endif #endif /* DEBUG_H */