8 #include <syslinux/debug.h>
10 #if !defined(DEBUG_PORT) && !defined(DEBUG_STDIO)
19 # define dprintf printf
20 # define vdprintf vprintf
22 void dprintf(const char *, ...);
23 void vdprintf(const char *, va_list);
28 #define dprintf(...) \
29 if (syslinux_debug_enabled) \
31 #define vdprintf(fmt, ap) \
32 if (syslinux_debug_enabled) \
35 #endif /* CORE_DEBUG */
38 /* Really verbose debugging... */
39 # define dprintf2 dprintf
40 # define vdprintf2 vdprintf
42 # define dprintf2(fmt, ...) ((void)(0))
43 # define vdprintf2(fmt, ap) ((void)(0))
46 #endif /* _DPRINTF_H */