summaryrefslogtreecommitdiff
path: root/com32/include/syslinux
diff options
context:
space:
mode:
authorMatt Fleming <matt.fleming@intel.com>2013-07-08 16:23:45 +0100
committerMatt Fleming <matt.fleming@intel.com>2013-07-08 16:23:45 +0100
commit3aa295d25bda39afee12b015523f222ce7940079 (patch)
tree8219b4d91f53e09d1f375547595d611065e45976 /com32/include/syslinux
parent8eefc0dad8fe2c01b0d90d36f1cea8de8ac4d514 (diff)
parent89794a3d0b8659e2a143faeffc77877b45754c52 (diff)
downloadsyslinux-3aa295d25bda39afee12b015523f222ce7940079.tar.gz
Merge tag 'syslinux-5.11-pre8' into firmwaresyslinux-6.02-pre1
syslinux-5.11-pre8 Conflicts: NEWS com32/lib/Makefile core/conio.c mk/devel.mk mk/elf.mk
Diffstat (limited to 'com32/include/syslinux')
-rw-r--r--com32/include/syslinux/debug.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/com32/include/syslinux/debug.h b/com32/include/syslinux/debug.h
new file mode 100644
index 00000000..aee6fdbb
--- /dev/null
+++ b/com32/include/syslinux/debug.h
@@ -0,0 +1,15 @@
+#ifndef DEBUG_H
+#define DEBUG_H
+
+#include <stdbool.h>
+
+#ifdef DYNAMIC_DEBUG
+#define syslinux_debug_enabled __syslinux_debug_enabled(__func__)
+extern bool __syslinux_debug_enabled(const char *func);
+#else
+#define syslinux_debug_enabled (0)
+#endif /* DYNAMIC_DEBUG */
+
+extern int syslinux_debug(const char *str, bool enable);
+
+#endif /* DEBUG_H */