From: David Turner <digit@google.com>
To: qemu-devel@nongnu.org
Subject: Re: [Qemu-devel] QEMU SVN on Windows 2000 :-(
Date: Tue, 3 Feb 2009 17:36:33 +0100 [thread overview]
Message-ID: <60cad3f0902030836u7f5c52a6m3eb81c6420cc6d74@mail.gmail.com> (raw)
In-Reply-To: <49885BC5.3010406@codemonkey.ws>
[-- Attachment #1: Type: text/plain, Size: 903 bytes --]
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 <anthony@codemonkey.ws>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
>>
>>
>
>
>
>
[-- Attachment #2: Type: text/html, Size: 1657 bytes --]
next prev parent reply other threads:[~2009-02-03 16:36 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-02 21:53 [Qemu-devel] QEMU SVN on Windows 2000 :-( Robert Riebisch
2009-02-02 22:29 ` Anthony Liguori
2009-02-03 7:53 ` Avi Kivity
2009-02-03 12:31 ` Anthony Liguori
2009-02-03 13:28 ` Daniel P. Berrange
2009-02-03 14:59 ` Anthony Liguori
2009-02-03 16:36 ` David Turner [this message]
2009-02-03 21:27 ` Robert Riebisch
2009-02-12 13:57 ` David Turner
2009-02-04 12:28 ` Jamie Lokier
2009-02-04 15:21 ` Robert Reif
2009-02-04 15:40 ` David Coppa
2009-02-04 15:58 ` Paul Brook
2009-02-04 20:11 ` Jamie Lokier
2009-02-04 21:00 ` Luca Tettamanti
2009-02-03 13:59 ` Avi Kivity
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=60cad3f0902030836u7f5c52a6m3eb81c6420cc6d74@mail.gmail.com \
--to=digit@google.com \
--cc=qemu-devel@nongnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).