..... #define PRINT_DEBUG(fmt, ...) printf("DEBUG: '%s:%d' " fmt, __FILE__, __LINE__, ##__VA_ARGS__ ) #else #define PRINT_DEBUG(fmt, ...) .....