Subject: Re: sockaddr_snprintf
To: None <tech-userlevel@NetBSD.org>
From: der Mouse <mouse@Rodents.Montreal.QC.CA>
List: tech-userlevel
Date: 11/17/2004 00:48:54
> go see include/netdb.h for definition of NI_WITHSCOPEID. it is
> wrapped by #ifdef _NETBSD_SOURCE.
Not as far as I can see, not in the version I first started doing IPv6
code with - I still have such a version on hand (and as I remarked in
another message, once I learn an interface I generally don't go
rechecking it constantly - and unless I have trouble with it I don't go
checking the include files anyway).
It's inside #if !defined(_XOPEN_SOURCE), but the netdb.h in question
doesn't mention _NETBSD_SOURCE at all.
Ah well. So much for portability. Foolish of me to imagine NetBSD
would bother with backward compatability, I guess.
/~\ The ASCII der Mouse
\ / Ribbon Campaign
X Against HTML mouse@rodents.montreal.qc.ca
/ \ Email! 7D C8 61 52 5D E7 2D 39 4E F1 31 3E E8 B3 27 4B