From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Jwnxd-0000E3-UL for qemu-devel@nongnu.org; Thu, 15 May 2008 20:38:13 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Jwnxc-0000CV-Ab for qemu-devel@nongnu.org; Thu, 15 May 2008 20:38:13 -0400 Received: from [199.232.76.173] (port=34101 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Jwnxc-0000CG-5D for qemu-devel@nongnu.org; Thu, 15 May 2008 20:38:12 -0400 Received: from smtp.syd.people.net.au ([218.214.225.98]:57822) by monty-python.gnu.org with smtp (Exim 4.60) (envelope-from ) id 1Jwnxb-0006MH-AY for qemu-devel@nongnu.org; Thu, 15 May 2008 20:38:11 -0400 Received: from hendrix (hendrix [192.168.200.99]) by hendrix.mega-nerd.net (Postfix) with SMTP id 4F869AB169 for ; Fri, 16 May 2008 10:38:05 +1000 (EST) Date: Fri, 16 May 2008 10:38:05 +1000 From: Erik de Castro Lopo Subject: Re: [Qemu-devel] [PATCH] Windows compile errors Message-Id: <20080516103805.36c4c796.mle+tools@mega-nerd.com> In-Reply-To: References: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org consul wrote: > Current svn does not compile under MinGW. The patch below fixes the problem. > Should the musicpal part go to a more generic header? > +typedef int socklen_t; That might be OK on windows, but its probably not a good idea on any other platform. Maybe surround it with "#ifdef _WIN32"? Erik -- ----------------------------------------------------------------- Erik de Castro Lopo ----------------------------------------------------------------- "The happiness you have demanded is now mandatory." -- Jello Biafra