src/Debug.hh (raw)
1 2 3 4 5 6 7 8 9 10 11 |
#ifndef DEBUG_HH #define DEBUG_HH #ifdef DEBUG #include <iostream> #define fbdbg std::cerr<<__FILE__<<"("<<__LINE__<< "): " #else #define fbdbg if (false) std::cerr #endif // DEBUG #endif // DEBUG_HH |