From e9a255bd5d362a0ea32d20279a4f36ae4732ef50 Mon Sep 17 00:00:00 2001 From: falkTX Date: Sat, 8 Feb 2020 15:56:03 +0000 Subject: [PATCH] Do something with WARN/ERR in release builds Signed-off-by: falkTX --- asio.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/asio.c b/asio.c index 3014d2e..117302a 100644 --- a/asio.c +++ b/asio.c @@ -36,11 +36,9 @@ #ifdef DEBUG #include "wine/debug.h" #else -// FIXME convert MESSAGE, WARN and ERR into proper macros with fprintf #define TRACE(...) {} -#define MESSAGE(...) {} -#define WARN(...) {} -#define ERR(...) {} +#define WARN(fmt, ...) {} fprintf(stdout, fmt, ##__VA_ARGS__) +#define ERR(fmt, ...) {} fprintf(stderr, fmt, ##__VA_ARGS__) #endif #include "objbase.h"