fix that damn ERROR() warning in tools

This commit is contained in:
fgsfds 2020-06-13 00:21:02 +03:00
parent 26fef6e320
commit 70b3a13aa1
1 changed files with 1 additions and 0 deletions

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