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