diff options
Diffstat (limited to 'testing/misc_tools.h')
-rw-r--r-- | testing/misc_tools.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/testing/misc_tools.h b/testing/misc_tools.h index eb09693e..1abdb809 100644 --- a/testing/misc_tools.h +++ b/testing/misc_tools.h | |||
@@ -51,6 +51,7 @@ unsigned char * hex_string_to_bin(char hex_string[]); | |||
51 | DEBUG_PRINT(__VA_ARGS__, ' '); \ | 51 | DEBUG_PRINT(__VA_ARGS__, ' '); \ |
52 | } while (0) | 52 | } while (0) |
53 | 53 | ||
54 | #undef ERROR | ||
54 | #define ERROR(exit_status, ...) do { \ | 55 | #define ERROR(exit_status, ...) do { \ |
55 | fprintf(stderr, "error in "); \ | 56 | fprintf(stderr, "error in "); \ |
56 | DEBUG_PRINT(__VA_ARGS__, ' '); \ | 57 | DEBUG_PRINT(__VA_ARGS__, ' '); \ |
@@ -58,6 +59,7 @@ unsigned char * hex_string_to_bin(char hex_string[]); | |||
58 | } while (0) | 59 | } while (0) |
59 | #else | 60 | #else |
60 | #define WARNING(...) | 61 | #define WARNING(...) |
62 | #undef ERROR | ||
61 | #define ERROR(...) | 63 | #define ERROR(...) |
62 | #endif // DEBUG | 64 | #endif // DEBUG |
63 | 65 | ||