summaryrefslogtreecommitdiff
path: root/testing/misc_tools.h
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2013-08-07 18:23:26 -0400
committerirungentoo <irungentoo@gmail.com>2013-08-07 18:23:26 -0400
commit81fccf68d6ef0363599ce8ab14cf45f5f021e5d6 (patch)
tree967ea5984fbd6a6e399d60a62245468e7e9ae646 /testing/misc_tools.h
parent00ecb05c1b36bc678fc880a12e71ebf407589216 (diff)
parentdda22a016774742588b88aac81d2267628758491 (diff)
Merge branch 'master' of https://github.com/irungentoo/ProjectTox-Core
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