From 48ed3e11a4bd8cbd58a9c2841e214138f88fd5f9 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Wed, 14 Oct 1998 17:58:40 +0000 Subject: [PATCH] Fixed --disable-debug config option. --- include/debugtools.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/include/debugtools.h b/include/debugtools.h index 7b6356b01f9..6bb535860fa 100644 --- a/include/debugtools.h +++ b/include/debugtools.h @@ -45,7 +45,7 @@ extern short debug_msg_enabled[][DEBUG_CLASS_COUNT]; #ifndef NO_TRACE_MSGS #define TRACE(ch, fmt, args...) DPRINTF_(trace, ch, fmt, ## args) #else -#define TRACE(ch, fmt, args...) +#define TRACE(ch, fmt, args...) do { } while (0) #endif /* NO_TRACE_MSGS */ #ifndef NO_DEBUG_MSGS @@ -53,9 +53,9 @@ extern short debug_msg_enabled[][DEBUG_CLASS_COUNT]; #define FIXME(ch, fmt, args...) DPRINTF_(fixme, ch, fmt, ## args) #define DUMP(format, args...) DPRINTF(format, ## args) #else -#define WARN(ch, fmt, args...) -#define FIXME(ch, fmt, args...) -#define DUMP(format, args...) +#define WARN(ch, fmt, args...) do { } while (0) +#define FIXME(ch, fmt, args...) do { } while (0) +#define DUMP(format, args...) do { } while (0) #endif /* NO_DEBUG_MSGS */ /* define error macro regardless of what is configured */ -- 2.11.4.GIT