Re: NetBSD 5.0’s lacks AI_* macros

2010-02-17 Thread Simon Josefsson
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

Re: NetBSD 5.0’s lacks AI_* macros

2010-02-17 Thread Bruno Haible
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

Re: NetBSD 5.0’s lacks AI_* macros

2010-02-17 Thread Simon Josefsson
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

Re: NetBSD 5.0’s lacks AI_* macros

2010-02-17 Thread Ludovic Courtès
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’.

Re: NetBSD 5.0’s lacks AI_* macros

2010-02-17 Thread Simon Josefsson
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

NetBSD 5.0’s lacks AI_* macros

2010-02-16 Thread Ludovic Courtès
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