blob: d542317fe1d98ecc9d3b87fff0b775bfcdd74224 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#ifndef DEBUG_H_
#define DEBUG_H_
#ifdef DEBUG
#define DBG_P(lvl, ...) if (DEBUG>=lvl) fprintf( stderr, __VA_ARGS__ )
#else
#define DBG_P(lvl, ...)
#endif
#endif /* DEBUG_H_ */
|