DBG calls debug() if defined(LOCAL_DEBUG) || defined(GLOBAL_DEBUG).
This commit is contained in:
parent
96d8e3bff2
commit
3cbfcafecd
1 changed files with 2 additions and 2 deletions
|
@ -1,7 +1,7 @@
|
||||||
/*
|
/*
|
||||||
* BIRD Library
|
* BIRD Library
|
||||||
*
|
*
|
||||||
* (c) 1998--1999 Martin Mares <mj@ucw.cz>
|
* (c) 1998--2000 Martin Mares <mj@ucw.cz>
|
||||||
*
|
*
|
||||||
* Can be freely distributed and used under the terms of the GNU GPL.
|
* Can be freely distributed and used under the terms of the GNU GPL.
|
||||||
*/
|
*/
|
||||||
|
@ -48,7 +48,7 @@ void debug(char *msg, ...); /* Printf to debug output */
|
||||||
|
|
||||||
/* Debugging */
|
/* Debugging */
|
||||||
|
|
||||||
#ifdef LOCAL_DEBUG
|
#if defined(LOCAL_DEBUG) || defined(GLOBAL_DEBUG)
|
||||||
#define DBG(x, y...) debug(x, ##y)
|
#define DBG(x, y...) debug(x, ##y)
|
||||||
#else
|
#else
|
||||||
#define DBG(x, y...)
|
#define DBG(x, y...)
|
||||||
|
|
Loading…
Reference in a new issue