summaryrefslogtreecommitdiff
path: root/testing/misc_tools.h
diff options
context:
space:
mode:
authorirungentoo <irungentoo@gmail.com>2013-08-07 11:30:42 -0700
committerirungentoo <irungentoo@gmail.com>2013-08-07 11:30:42 -0700
commitdda22a016774742588b88aac81d2267628758491 (patch)
tree633935429bc3383899fac01df5264a9ff51070a3 /testing/misc_tools.h
parent5a8da17e61f59f189a8534f75d56c0e98f9caf39 (diff)
parent83112c588af46232af4be74ee69a133be199110b (diff)
Merge pull request #377 from sodwalt/feature
Fixed warnings when compiling nTox_win32
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