On Fri, 28 Apr 2000, Doug MacEachern wrote:
>...
> > BTW, I'm also personally not convinced that own APR_{TRUE,FALSE} values
> > are very useful. FALSE is _ALWAYS_ 0 and TRUE is just not FALSE. So it
> > is usually never a problem to use
> >
> > #ifndef FALSE
> > #define FALSE 0
> > #endif
> > #ifndef TRUE
> > #define TRUE !FALSE
> > #endif
>
> yeah, this was my first suggestion, look like i might backup to that,
> since APR_{TRUE,FALSE} is breaking things.
I'm with Ralf on this one. And that should be:
#define TRUE (!FALSE)
Cheers,
-g
--
Greg Stein, http://www.lyra.org/
|