fix that damn ERROR() warning in tools
This commit is contained in:
parent
26fef6e320
commit
70b3a13aa1
|
@ -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__)
|
||||||
|
|
Loading…
Reference in New Issue