summaryrefslogtreecommitdiff
path: root/messages.h
diff options
context:
space:
mode:
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 ec7d933..5960479 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, ...) \