From 05bccd107ae3e9c2676cbff71bd5a5eb1bac07df Mon Sep 17 00:00:00 2001 From: fgsfds Date: Sat, 13 Jun 2020 00:21:02 +0300 Subject: [PATCH] fix that damn ERROR() warning in tools --- tools/utils.h | 1 + 1 file changed, 1 insertion(+) diff --git a/tools/utils.h b/tools/utils.h index 03f482d0..5112b1bf 100644 --- a/tools/utils.h +++ b/tools/utils.h @@ -71,6 +71,7 @@ typedef struct // global verbosity setting extern int g_verbosity; +#undef ERROR #define ERROR(...) fprintf(stderr, __VA_ARGS__) #define INFO(...) if (g_verbosity) printf(__VA_ARGS__) #define INFO_HEX(...) if (g_verbosity) print_hex(__VA_ARGS__)