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

View file

@ -71,6 +71,7 @@ typedef struct
// global verbosity setting // global verbosity setting
extern int g_verbosity; extern int g_verbosity;
#undef ERROR
#define ERROR(...) fprintf(stderr, __VA_ARGS__) #define ERROR(...) fprintf(stderr, __VA_ARGS__)
#define INFO(...) if (g_verbosity) printf(__VA_ARGS__) #define INFO(...) if (g_verbosity) printf(__VA_ARGS__)
#define INFO_HEX(...) if (g_verbosity) print_hex(__VA_ARGS__) #define INFO_HEX(...) if (g_verbosity) print_hex(__VA_ARGS__)