summaryrefslogtreecommitdiff
path: root/src/Debug.hh
blob: 3688b5211c34cfc3e1d19ee2133e556a7720966c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#ifndef DEBUG_HH
#define DEBUG_HH

#include "config.h"
#include <iostream>

#ifdef DEBUG
#define fbdbg std::cerr<<__FILE__<<"("<<__LINE__<< "): "
#else
#define fbdbg if (false) std::cerr
#endif // DEBUG

#endif // DEBUG_HH