]>
Commit | Line | Data |
---|---|---|
35edb766 L |
1 | /* |
2 | * (C) Copyright 2014 Leo C. <erbl259-lmu@yahoo.de> | |
3 | * | |
4 | * SPDX-License-Identifier: GPL-2.0+ | |
5 | */ | |
6b81b39f L |
6 | |
7 | #ifndef DEBUG_H_ | |
8 | #define DEBUG_H_ | |
9 | ||
10 | #ifdef DEBUG | |
11 | #define DBG_P(lvl, ...) if (DEBUG>=lvl) fprintf( stderr, __VA_ARGS__ ) | |
12 | #else | |
13 | #define DBG_P(lvl, ...) | |
14 | #endif | |
15 | ||
16 | #endif /* DEBUG_H_ */ |