KDE/kdelibs
Paulo Jorge Guedes
Paulo.Guedes at artelecom.pt
Thu Feb 16 19:06:24 CET 2006
> -----Original Message-----
> From: Paulo Jorge Guedes [mailto:Paulo.Guedes at artelecom.pt]
> Sent: quinta-feira, 16 de Fevereiro de 2006 17:40
> To: kde-buildsystem at kde.org
> Subject: RE: KDE/kdelibs
> > > Can you check if you have getaddrinfo and getnameinfo in your
system?
> >
> > I don't have any. This fails:
> >
> > #if (_WIN32_WINNT >= 0x0501)
>
> For Windows XP it should be:
>
> _WIN32_WINNT>=0x0501
> WINVER>=0x0501
>
> I'm getting 1024 for both.
>
> So, I guess we need to include netsupp.cpp (which doesn't compile btw)
> also on win32 as there is a chance this functions are not available.
Well, on windef.h:11:
#ifndef WINVER
#define WINVER 0x0400
/*
* If you need Win32 API features newer the Win95 and WinNT then you
must
* define WINVER before including windows.h or any other method of
including
* the windef.h header.
*/
#endif
#ifndef _WIN32_WINNT
#define _WIN32_WINNT WINVER
Now, the question is, what is the best way to workaround this?
Paulo
More information about the Kde-buildsystem
mailing list