summaryrefslogtreecommitdiff
path: root/messages.h
diff options
context:
space:
mode:
authorDimitri John Ledkov <xnox@ubuntu.com>2019-01-26 00:37:47 +0000
committerDimitri John Ledkov <xnox@ubuntu.com>2019-01-26 00:37:47 +0000
commit2fd02b1f5f50d499b8f19d0cc5e9bc9ed7e686cd (patch)
tree7557002a8de5892b17c04d1afcd8fdc99a0af4e7 /messages.h
parent03b9f8baf40383f4c2d709c656ca35bd75362dff (diff)
New upstream release
Diffstat (limited to 'messages.h')
-rw-r--r--messages.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/messages.h b/messages.h
index ec7d9338..59604794 100644
--- a/messages.h
+++ b/messages.h
@@ -26,13 +26,13 @@
#ifdef DEBUG_TRACE_ON_ERROR
#define PRINT_TRACE_ON_ERROR print_trace()
#else
-#define PRINT_TRACE_ON_ERROR
+#define PRINT_TRACE_ON_ERROR do { } while (0)
#endif
#ifdef DEBUG_ABORT_ON_ERROR
#define DO_ABORT_ON_ERROR abort()
#else
-#define DO_ABORT_ON_ERROR
+#define DO_ABORT_ON_ERROR do { } while (0)
#endif
#define error(fmt, ...) \