summaryrefslogtreecommitdiff
path: root/base.h
diff options
context:
space:
mode:
Diffstat (limited to 'base.h')
-rw-r--r--base.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/base.h b/base.h
index 8327fdb..62c7117 100644
--- a/base.h
+++ b/base.h
@@ -40,7 +40,7 @@ typedef unsigned long ulong;
#if DEBUG
#if __unix__
-#define debug_println printf
+#define debug_println(...) printf(__VA_ARGS__), printf("\n")
#else // __unix__
static void debug_println(char const *fmt, ...) {
char buf[256];