#ifdef DEBUG
#define return if (fprintf(hogehoge), 0) {} else return
#endif

カンマ演算子がないと、これが使えんので、ぜひとも必要