all repos — fluxbox @ 0f7b083e9b768c6a9116036f9dda0723bbb2173b

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