aboutsummaryrefslogtreecommitdiff
path: root/readline.c
diff options
context:
space:
mode:
authorPaolo Bonzini <pbonzini@redhat.com>2010-02-04 16:49:57 +0100
committermalc <av1474@comtv.ru>2010-02-08 12:12:40 +0300
commit30bf5f46e7e1a405edae582968e2c6f91ab81040 (patch)
treedd966ec90881c2fe835e47d67f3aa441314b3f56 /readline.c
parente00291c008bb033682f8148411c8e8533fac3a21 (diff)
downloadqemu-30bf5f46e7e1a405edae582968e2c6f91ab81040.zip
qemu-30bf5f46e7e1a405edae582968e2c6f91ab81040.tar.gz
qemu-30bf5f46e7e1a405edae582968e2c6f91ab81040.tar.bz2
cope with printf macro definition in readline.c
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com> Signed-off-by: malc <av1474@comtv.ru>
Diffstat (limited to 'readline.c')
-rw-r--r--readline.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/readline.c b/readline.c
index 7834af0..92f9cd1 100644
--- a/readline.c
+++ b/readline.c
@@ -28,6 +28,7 @@
#define IS_ESC 1
#define IS_CSI 2
+#undef printf
#define printf do_not_use_printf
void readline_show_prompt(ReadLineState *rs)