all repos — fluxbox @ ce0b41c8472135898a553d6d649d852beb80cffb

custom fork of the fluxbox windowmanager

src/Debug.hh (raw)

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