From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Nd3y4-0002Fl-RQ for qemu-devel@nongnu.org; Thu, 04 Feb 2010 10:50:08 -0500 Received: from [199.232.76.173] (port=38555 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Nd3y4-0002Fd-JM for qemu-devel@nongnu.org; Thu, 04 Feb 2010 10:50:08 -0500 Received: from Debian-exim by monty-python.gnu.org with spam-scanned (Exim 4.60) (envelope-from ) id 1Nd3y3-00057N-Gq for qemu-devel@nongnu.org; Thu, 04 Feb 2010 10:50:08 -0500 Received: from mx1.redhat.com ([209.132.183.28]:42066) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Nd3y3-00057D-2S for qemu-devel@nongnu.org; Thu, 04 Feb 2010 10:50:07 -0500 From: Paolo Bonzini Date: Thu, 4 Feb 2010 16:49:57 +0100 Message-Id: <1265298599-4186-3-git-send-email-pbonzini@redhat.com> In-Reply-To: <201002042313.45353.sheng@linux.intel.com> References: <201002042313.45353.sheng@linux.intel.com> Subject: [Qemu-devel] [PATCH 2/4] cope with printf macro definition in readline.c List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: aliguori@us.ibm.com, quintela@redhat.com, sheng@linux.intel.com Signed-off-by: Paolo Bonzini --- readline.c | 1 + 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) -- 1.6.6