all repos — fluxbox @ bc272ba4aed707522cb458d659940567ac6fc386

custom fork of the fluxbox windowmanager

src/Debug.hh (raw)

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef DEBUG_HH
#define DEBUG_HH

#ifdef HAVE_CONFIG_H
#include "config.h"
#endif // HAVE_CONFIG_H

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

#endif // DEBUG_HH