summaryrefslogtreecommitdiff
path: root/testing/misc_tools.h
diff options
context:
space:
mode:
authorcharmlesscoin <charmlesscoin@gmail.com>2013-08-07 15:22:57 -0400
committercharmlesscoin <charmlesscoin@gmail.com>2013-08-07 15:22:57 -0400
commit0f664f3122af9b29cece1a6342b343af0d06d63f (patch)
treeb1da9ec5795e5ecd95d1bc50875e43815f154881 /testing/misc_tools.h
parent64b05c09601c1a0f45674384daa5f25be530bc34 (diff)
parentdda22a016774742588b88aac81d2267628758491 (diff)
Merge branch 'master' of git://github.com/irungentoo/ProjectTox-Core into auto_tests
Diffstat (limited to 'testing/misc_tools.h')
-rw-r--r--testing/misc_tools.h2
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