Bruno Haible writes:
> Simon Josefsson wrote:
>> fixed as below. ... So this is a bug in NetBSD netdb.h
>
> I'm adding a mention of it to the doc:
Thanks.
/Simon
Simon Josefsson wrote:
> fixed as below. ... So this is a bug in NetBSD netdb.h
I'm adding a mention of it to the doc:
2010-02-17 Bruno Haible
* doc/posix-headers/netdb.texi: Mention NetBSD 5.0 problem.
Reported by Ludovic Courtès .
*** doc/posix-headers/netdb.texi.orig T
Eric Blake writes:
> According to Simon Josefsson on 2/17/2010 1:27 AM:
>> Thanks, fixed as below. Note that _support_ for these symbols is not
>> required by POSIX (it is conditional on IPv6 support), but the symbols
>> are required to be defined.
>
>> +# define AI_ADDRCONFIG 0 /* 0x0020: Use
Hi,
Simon Josefsson writes:
> Thanks, fixed as below. Note that _support_ for these symbols is not
> required by POSIX (it is conditional on IPv6 support), but the symbols
> are required to be defined. So this is a bug in NetBSD netdb.h and
> should be reported.
Right. Thanks!
Ludo’.
l...@gnu.org (Ludovic Courtès) writes:
> Hello,
>
> NetBSD 5.0’s doesn’t define ‘AI_ALL’, ‘AI_V4MAPPED’, and
> ‘AI_ADDRCONFIG’. This can be worked around with something like this:
>
> #ifndef AI_ALL
> # define AI_ALL 0
> #endif
> #ifndef AI_V4MAPPED
> # define AI_V4MAPPED 0
> #endif
Hello,
NetBSD 5.0’s doesn’t define ‘AI_ALL’, ‘AI_V4MAPPED’, and
‘AI_ADDRCONFIG’. This can be worked around with something like this:
#ifndef AI_ALL
# define AI_ALL 0
#endif
#ifndef AI_V4MAPPED
# define AI_V4MAPPED 0
#endif
#ifndef AI_ADDRCONFIG
# define AI_ADDRCONFIG 0
#endif