Subject: Re: inet_makeaddr(), u_long, _POSIX_SOURCE macro
To: Jason R Thorpe <thorpej@wasabisystems.com>
From: Klaus Klein <kleink@reziprozitaet.de>
List: tech-kern
Date: 01/07/2003 00:30:10
Jason R Thorpe <thorpej@wasabisystems.com> writes:
> On Mon, Jan 06, 2003 at 10:37:21AM +0100, Jaromir Dolecek wrote:
>
> [...]
> > inet_makeaddr() is not guarded by _POSIX_SOURCE, so the compile
> > fails even when the program doesn't use inet_makeaddr().
>
> Right, the header it is declared in is not a POSIX header, AFAIK.
It is, in a way. :-) When I revised the header it had not been folded
back into a common POSIX issue, and I chose XNS5.2 to start with. In
the meantime it did make its way into POSIX-2001, but inet_makeaddr()
is an interface that didn't.
So it seems I need to revisit this. :-)
- Klaus