fix that damn ERROR() warning in tools

This commit is contained in:
fgsfds 2020-06-13 00:21:02 +03:00
parent 8c1257eca1
commit 05bccd107a
1 changed files with 1 additions and 0 deletions

View File

@ -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__)