mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-12-22 01:31:55 +00:00
DBG calls debug() if defined(LOCAL_DEBUG) || defined(GLOBAL_DEBUG).
This commit is contained in:
parent
96d8e3bff2
commit
3cbfcafecd
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* 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.
|
||||
*/
|
||||
@ -48,7 +48,7 @@ void debug(char *msg, ...); /* Printf to debug output */
|
||||
|
||||
/* Debugging */
|
||||
|
||||
#ifdef LOCAL_DEBUG
|
||||
#if defined(LOCAL_DEBUG) || defined(GLOBAL_DEBUG)
|
||||
#define DBG(x, y...) debug(x, ##y)
|
||||
#else
|
||||
#define DBG(x, y...)
|
||||
|
Loading…
Reference in New Issue
Block a user