summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/birdlib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/birdlib.h b/lib/birdlib.h
index 22695c1..6f05330 100644
--- a/lib/birdlib.h
+++ b/lib/birdlib.h
@@ -51,7 +51,7 @@ void debug(char *msg, ...); /* Printf to debug output */
#if defined(LOCAL_DEBUG) || defined(GLOBAL_DEBUG)
#define DBG(x, y...) debug(x, ##y)
#else
-#define DBG(x, y...)
+#define DBG(x, y...) do { } while(0)
#endif
#ifdef DEBUGGING