From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MVWJP-0007zs-7G for qemu-devel@nongnu.org; Mon, 27 Jul 2009 15:56:43 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MVWJJ-0007zP-R7 for qemu-devel@nongnu.org; Mon, 27 Jul 2009 15:56:41 -0400 Received: from [199.232.76.173] (port=40035 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MVWJJ-0007zM-JK for qemu-devel@nongnu.org; Mon, 27 Jul 2009 15:56:37 -0400 Received: from e5.ny.us.ibm.com ([32.97.182.145]:55688) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1MVWJJ-0005s4-3V for qemu-devel@nongnu.org; Mon, 27 Jul 2009 15:56:37 -0400 Received: from d01relay02.pok.ibm.com (d01relay02.pok.ibm.com [9.56.227.234]) by e5.ny.us.ibm.com (8.14.3/8.13.1) with ESMTP id n6RJnCHS008543 for ; Mon, 27 Jul 2009 15:49:12 -0400 Received: from d01av04.pok.ibm.com (d01av04.pok.ibm.com [9.56.224.64]) by d01relay02.pok.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id n6RJuYF6232792 for ; Mon, 27 Jul 2009 15:56:34 -0400 Received: from d01av04.pok.ibm.com (loopback [127.0.0.1]) by d01av04.pok.ibm.com (8.12.11.20060308/8.13.3) with ESMTP id n6RJuYgb024911 for ; Mon, 27 Jul 2009 15:56:34 -0400 Message-ID: <4A6E0670.8090206@us.ibm.com> Date: Mon, 27 Jul 2009 14:56:32 -0500 From: Anthony Liguori MIME-Version: 1.0 References: <200907271922.n6RJMm0R021742@d01av01.pok.ibm.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] Re: [COMMIT 9977c89] Make tcp_chr_read() use recvmsg() List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Juan Quintela Cc: qemu-devel@nongnu.org Juan Quintela wrote: > Anthony Liguori wrote: > >> From: Mark McLoughlin >> >> Split out tcp_chr_recv() out of tcp_chr_read() and implement it on >> non-win32 using recvmsg(). This is needed for a subsequent patch >> which implements SCM_RIGHTS support. >> >> Signed-off-by: Mark McLoughlin >> Signed-off-by: Anthony Liguori >> >> diff --git a/qemu-char.c b/qemu-char.c >> index 287e0cd..9886228 100644 >> --- a/qemu-char.c >> +++ b/qemu-char.c >> @@ -1907,6 +1907,29 @@ static void tcp_chr_process_IAC_bytes(CharDriverState *chr, >> *size = j; >> } >> >> +#ifndef WIN32 >> > > As far as I know, WIN32 is not defined, it has to be _WIN32 > > Later, Juan. > Indeed, thanks for catching that. -- Regards, Anthony Liguori