msvc/winsock2 functions

Peter Kümmel syntheticpp at gmx.net
Wed Feb 15 00:00:07 CET 2006


Alexander Neundorf wrote:
> On Tuesday 14 February 2006 23:05, you wrote:
>> +check_symbol_exists(gethostname sys/socket.h HAVE_GETHOSTNAME)
>> +check_symbol_exists(getnameinfo sys/socket.h HAVE_GETNAMEINFO)
> 
> I tested it, here they need the following headers:
> 
> check_symbol_exists(gethostname unistd.h HAVE_GETHOSTNAME)
> check_symbol_exists(getnameinfo "sys/socket.h;netdb.h" HAVE_GETNAMEINFO)
> 
> That's also what the man pages say on my system.
> 
> Bye
> Alex

Fine, your version works here, too.

Peter


More information about the Kde-buildsystem mailing list