diff options
Diffstat (limited to 'src/Debug.hh')
-rw-r--r-- | src/Debug.hh | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Debug.hh b/src/Debug.hh index 3688b52..556186f 100644 --- a/src/Debug.hh +++ b/src/Debug.hh | |||
@@ -1,10 +1,12 @@ | |||
1 | #ifndef DEBUG_HH | 1 | #ifndef DEBUG_HH |
2 | #define DEBUG_HH | 2 | #define DEBUG_HH |
3 | 3 | ||
4 | #ifdef HAVE_CONFIG_H | ||
4 | #include "config.h" | 5 | #include "config.h" |
5 | #include <iostream> | 6 | #endif // HAVE_CONFIG_H |
6 | 7 | ||
7 | #ifdef DEBUG | 8 | #ifdef DEBUG |
9 | #include <iostream> | ||
8 | #define fbdbg std::cerr<<__FILE__<<"("<<__LINE__<< "): " | 10 | #define fbdbg std::cerr<<__FILE__<<"("<<__LINE__<< "): " |
9 | #else | 11 | #else |
10 | #define fbdbg if (false) std::cerr | 12 | #define fbdbg if (false) std::cerr |