DBG calls debug() if defined(LOCAL_DEBUG) || defined(GLOBAL_DEBUG).

This commit is contained in:
Martin Mares 2000-03-07 21:04:14 +00:00
parent 96d8e3bff2
commit 3cbfcafecd

View file

@ -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...)