cope with printf macro definition in readline.c

Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: malc <av1474@comtv.ru>
This commit is contained in:
Paolo Bonzini 2010-02-04 16:49:57 +01:00 committed by malc
parent e00291c008
commit 30bf5f46e7

View File

@ -28,6 +28,7 @@
#define IS_ESC 1 #define IS_ESC 1
#define IS_CSI 2 #define IS_CSI 2
#undef printf
#define printf do_not_use_printf #define printf do_not_use_printf
void readline_show_prompt(ReadLineState *rs) void readline_show_prompt(ReadLineState *rs)