diff options
author | Tharre <tharre3@gmail.com> | 2014-11-11 13:45:14 +0100 |
---|---|---|
committer | Tharre <tharre3@gmail.com> | 2014-11-11 14:03:32 +0100 |
commit | 56f3fa373a76842275b199c9ce14fd8e626bd909 (patch) | |
tree | 3ef552a3041afe97686532a8bec492e2c786505d /src/dbg.h | |
parent | a07239b0d220fb04dadd6422fd75defa13ee50b9 (diff) | |
download | redo-56f3fa373a76842275b199c9ce14fd8e626bd909.tar.gz redo-56f3fa373a76842275b199c9ce14fd8e626bd909.tar.xz redo-56f3fa373a76842275b199c9ce14fd8e626bd909.zip |
Some refactoring and small fixes.
Diffstat (limited to 'src/dbg.h')
-rw-r--r-- | src/dbg.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -34,9 +34,9 @@ #define log_err(...) LOG_HELPER(_FILENAME, __LINE__, __VA_ARGS__) #define fatal(...) \ - {FATAL_HELPER(__VA_ARGS__, strerror(errno)); exit(EXIT_FAILURE);} + ({FATAL_HELPER(__VA_ARGS__, strerror(errno)); exit(EXIT_FAILURE);}) #define fatal_(f,l,...) \ - {FATAL_HELPER_(f, l, __VA_ARGS__, strerror(errno)); exit(EXIT_FAILURE);} + ({FATAL_HELPER_(f, l, __VA_ARGS__, strerror(errno)); exit(EXIT_FAILURE);}) #define assert_str_equal(a,b) ({ \ if (strcmp(a, b)) { \ |