Why not? #define ENABLE_DEBUG, #include debug.h, use DEBUG() as printf.
If debug.h is included, but ENABLE_DEBUG is not defined, DEBUG(whatever) does nothing.
What am I missing? What do you thing how this was intended to work?
Why not? #define ENABLE_DEBUG, #include debug.h, use DEBUG() as printf.
If debug.h is included, but ENABLE_DEBUG is not defined, DEBUG(whatever) does nothing.
What am I missing? What do you thing how this was intended to work?