summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>2000-03-07 22:04:14 +0100
committerMartin Mares <mj@ucw.cz>2000-03-07 22:04:14 +0100
commit3cbfcafecdf4f3dd1b201e0adf849f9959284c87 (patch)
tree15942966729e0776a978ef5e41b035e32b5ce70a
parent96d8e3bff242d5c9d0eb75fa04a21f6c09d8dbcf (diff)
downloadbird-3cbfcafecdf4f3dd1b201e0adf849f9959284c87.tar
bird-3cbfcafecdf4f3dd1b201e0adf849f9959284c87.zip
DBG calls debug() if defined(LOCAL_DEBUG) || defined(GLOBAL_DEBUG).
-rw-r--r--lib/birdlib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/birdlib.h b/lib/birdlib.h
index 722fe57..22695c1 100644
--- a/lib/birdlib.h
+++ b/lib/birdlib.h
@@ -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...)