Re: kern.osreldate and EAI_NODATA deprecation

From: Stefan Farfeleder <stefan_at_fafoe.narf.at>
Date: Wed, 31 Dec 2003 15:18:25 +0100
On Wed, Dec 31, 2003 at 02:41:23PM +0100, Max Laier wrote:
> On Wednesday 31 December 2003 14:26, Mark Huizer wrote:
> >
> > Well, that's tougher, since EAI_NODATA is defined (it's defined to be
> > EAI_NODATA).
> > Hmm...
> > would this work? I'm not too 100% secure about preprocessing stuff.
> > If this should work, I could try to get it included in the normal kaffe
> > tree.
> >
> > #if defined(EAI_NODATA) && EAI_NODATA != EAI_NONAME
> > ...
> > #endif
> 
> Other question, does it hurt you that EAI_NODATA == EAI_NONAME? I'd not think 
> so ... so why borther?! But yes, the syntax is okay ... consider extra 
> parentheses for the second expression.

Eg. it does matter if both macros occur in case labels of a switch
statement.

Regards,
Stefan Farfeleder
Received on Wed Dec 31 2003 - 05:18:33 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:36 UTC