summaryrefslogtreecommitdiff
path: root/com32/lib/vdprintf.c
diff options
context:
space:
mode:
Diffstat (limited to 'com32/lib/vdprintf.c')
-rw-r--r--com32/lib/vdprintf.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/com32/lib/vdprintf.c b/com32/lib/vdprintf.c
index d74f2782..c1f90a63 100644
--- a/com32/lib/vdprintf.c
+++ b/com32/lib/vdprintf.c
@@ -14,6 +14,8 @@
#define DEBUG 1
#include <dprintf.h>
+#ifndef vdprintf
+
#define BUFFER_SIZE 4096
enum serial_port_regs {
@@ -114,3 +116,5 @@ void vdprintf(const char *format, va_list ap)
while (rv--)
debug_putc(*p++);
}
+
+#endif /* vdprintf */