From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LUG5f-0004ev-6M for qemu-devel@nongnu.org; Tue, 03 Feb 2009 02:53:03 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LUG5d-0004ci-II for qemu-devel@nongnu.org; Tue, 03 Feb 2009 02:53:02 -0500 Received: from [199.232.76.173] (port=43014 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LUG5d-0004cD-94 for qemu-devel@nongnu.org; Tue, 03 Feb 2009 02:53:01 -0500 Received: from mx2.redhat.com ([66.187.237.31]:35062) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1LUG5b-0005Hc-P6 for qemu-devel@nongnu.org; Tue, 03 Feb 2009 02:53:00 -0500 Received: from int-mx2.corp.redhat.com (int-mx2.corp.redhat.com [172.16.27.26]) by mx2.redhat.com (8.13.8/8.13.8) with ESMTP id n137qwhJ007904 for ; Tue, 3 Feb 2009 02:52:58 -0500 Message-ID: <4987F7F1.2040104@redhat.com> Date: Tue, 03 Feb 2009 09:53:21 +0200 From: Avi Kivity MIME-Version: 1.0 Subject: Re: [Qemu-devel] QEMU SVN on Windows 2000 :-( References: <49876B4C.9090806@bttr-software.de> <498773B6.7060301@codemonkey.ws> In-Reply-To: <498773B6.7060301@codemonkey.ws> Content-Type: text/plain; charset=ISO-8859-1; format=flowed 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 Anthony Liguori wrote: > Robert Riebisch wrote: >> Hi! >> >> Unfortunately Win32 binaries built from QEMU SVN don't run on Windows >> 2000 anymore, because of missing DLL entry points in `ws2_32.dll'. >> > > Unfortunately, win2k is so old at this point, that I don't know that > it's worth jumping through hoops to support. > > If someone can come up with a simple patch (with appropriately > licensed code), then I'd be happy to apply it. Otherwise, I don't > think not supporting win2k as a host is a huge loss. > There is in fact a signed-off two-liner still in the thread: >> >> --- qemu-sockets.c.orig Wed Jan 14 19:34:22 2009 >> +++ qemu-sockets.c Mon Feb 02 22:04:42 2009 >> @@ -22,6 +22,9 @@ >> #include "qemu_socket.h" >> #include "qemu-common.h" /* for qemu_isdigit */ >> >> +#define _inline __inline /* circumvent header file issue */ >> +#include >> + >> #ifndef AI_ADDRCONFIG >> # define AI_ADDRCONFIG 0 >> #endif >> *** >> >> Signed-off-by: Robert Riebisch -- I have a truly marvellous patch that fixes the bug which this signature is too narrow to contain.