qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] QEMU SVN on Windows 2000 :-(


From: David Turner
Subject: Re: [Qemu-devel] QEMU SVN on Windows 2000 :-(
Date: Tue, 3 Feb 2009 17:36:33 +0100

For the record, getaddrinfo() was introduced in Windows 2000 Professional and Server, see end of http://msdn.microsoft.com/en-us/library/ms738520(VS.85).aspx
(it's only missing from 2000 Workstation).

you just need to add -DWINVER=0x501 to your CFLAGS to be able to have it properly declared (and linked to) with should be able to compile it with mingw

hope this helps

On Tue, Feb 3, 2009 at 3:59 PM, Anthony Liguori <address@hidden> wrote:
Daniel P. Berrange wrote:
Well MinGW already builds fine with getaddrinfo(), so no need for a GPL
header providing Wspiapi.h there. Since this is only needed for a few
Win builds, why not just make the include conditional on whether that header actually exists. eg

#ifdef HAVE_WSPIAPI_H
#include <Wspiapi.h>
#endif
 

If that works, that's fine.

Regards,

Anthony Liguori

Regards,
Daniel
 





reply via email to

[Prev in Thread] Current Thread [Next in Thread]