I prefer something like this so you can use #if DEBUG rather than #ifdef DEBUG:
#define DEBUG 1
#if DEBUG
// ...
#endif
I prefer something like this so you can use #if DEBUG rather than #ifdef DEBUG:
#define DEBUG 1
#if DEBUG
// ...
#endif