summaryrefslogtreecommitdiffstats
path: root/loader/debug.h
diff options
context:
space:
mode:
Diffstat (limited to 'loader/debug.h')
-rw-r--r--loader/debug.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/loader/debug.h b/loader/debug.h
new file mode 100644
index 0000000000..6ab7cd36f2
--- /dev/null
+++ b/loader/debug.h
@@ -0,0 +1,7 @@
+#ifdef DEBUG
+#define TRACE printf
+#define dbg_printf printf
+#else
+#define TRACE(...)
+#define dbg_printf(...)
+#endif