KDE/kdelibs

Paulo Jorge Guedes Paulo.Guedes at artelecom.pt
Thu Feb 16 17:47:34 CET 2006


> -----Original Message-----
> From: Thiago Macieira [mailto:thiago at kde.org]
> Sent: quinta-feira, 16 de Fevereiro de 2006 16:19
> To: kde-buildsystem at kde.org
> Subject: Re: KDE/kdelibs
> 
> Peter Kümmel wrote:
> >> getnameinfo is _defined_ in netsupp.cpp which is not included in
> >> WIN32. Don't know if it's supposed to be.
> >
> >Only when HAVE_GETADDRINFO is not defined (or HAVE_BROKEN_GETADDRINFO is
> > defined) in config.h then getnameinfo is defined in netsupp.cpp. So
> > something goes wrong with your configure process.
> 
> Recent POSIX and all IPv6-capable systems should provide getaddrinfo and
> getnameinfo. It's even in RFCs. It's the only true thread-safe and
> IPv6-capable way of resolving hostnames.
> 
> However, we still support old systems that don't have it. And there are
> some that have broken implementations, so we override it.
> 
> It makes no sense to have getaddrinfo but not getnameinfo or vice-versa.
> So we only test for one.
> 
> Can you check if you have getaddrinfo and getnameinfo in your system?

I don't have any. This fails:

#if (_WIN32_WINNT >= 0x0501)

Paulo


More information about the Kde-buildsystem mailing list