diff options
| author | Matt Fleming <matt.fleming@intel.com> | 2013-07-08 16:23:45 +0100 |
|---|---|---|
| committer | Matt Fleming <matt.fleming@intel.com> | 2013-07-08 16:23:45 +0100 |
| commit | 3aa295d25bda39afee12b015523f222ce7940079 (patch) | |
| tree | 8219b4d91f53e09d1f375547595d611065e45976 /com32/include/syslinux | |
| parent | 8eefc0dad8fe2c01b0d90d36f1cea8de8ac4d514 (diff) | |
| parent | 89794a3d0b8659e2a143faeffc77877b45754c52 (diff) | |
| download | syslinux-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.h | 15 |
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 */ |
