aboutsummaryrefslogtreecommitdiff
path: root/dtc.h
diff options
context:
space:
mode:
Diffstat (limited to 'dtc.h')
-rw-r--r--dtc.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/dtc.h b/dtc.h
index 5ead895..5cb9f58 100644
--- a/dtc.h
+++ b/dtc.h
@@ -36,6 +36,13 @@
#include "util.h"
+#ifdef DEBUG
+#define debug(fmt,args...) printf(fmt, ##args)
+#else
+#define debug(fmt,args...)
+#endif
+
+
#define DEFAULT_FDT_VERSION 17
/*