cope with printf macro definition in readline.c
authorPaolo Bonzini <pbonzini@redhat.com>
Thu, 4 Feb 2010 15:49:57 +0000 (16:49 +0100)
committermalc <av1474@comtv.ru>
Mon, 8 Feb 2010 09:12:40 +0000 (12:12 +0300)
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Signed-off-by: malc <av1474@comtv.ru>
readline.c

index 7834af0..92f9cd1 100644 (file)
@@ -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)