|
From: | Anthony Liguori |
Subject: | Re: [Qemu-devel] QEMU SVN on Windows 2000 :-( |
Date: | Tue, 03 Feb 2009 06:31:16 -0600 |
User-agent: | Thunderbird 2.0.0.19 (X11/20090105) |
Avi Kivity wrote:
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:
"but it requires copyrighted file `Wspiapi.h' from MSVC2005, because MinGW doesn't provide such a file."
So if Wspiapi.h carries a GPL compatible license, it's fine to include. The patch lacks Wspiapi.h though so it'll break the build on mingw.
Regards, Anthony Liguori
--- 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 <wspiapi.h> + #ifndef AI_ADDRCONFIG # define AI_ADDRCONFIG 0 #endif *** Signed-off-by: Robert Riebisch <address@hidden>
[Prev in Thread] | Current Thread | [Next in Thread] |