summaryrefslogtreecommitdiff
path: root/src/Debug.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/Debug.hh')
-rw-r--r--src/Debug.hh13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/Debug.hh b/src/Debug.hh
new file mode 100644
index 0000000..3688b52
--- /dev/null
+++ b/src/Debug.hh
@@ -0,0 +1,13 @@
1#ifndef DEBUG_HH
2#define DEBUG_HH
3
4#include "config.h"
5#include <iostream>
6
7#ifdef DEBUG
8#define fbdbg std::cerr<<__FILE__<<"("<<__LINE__<< "): "
9#else
10#define fbdbg if (false) std::cerr
11#endif // DEBUG
12
13#endif // DEBUG_HH