apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Jagielski <...@jaguNET.com>
Subject Re: FreeBSD and gnu m4
Date Fri, 02 Mar 2001 13:03:40 GMT
Roy T. Fielding wrote:
> Then we should fix the cause of that goofyness, which is due to all
> APR defines being set to "0" or "1" instead of undefined/defined.
> Fixing that would remove the cause of all those other subtle typos and
> bugs, in addition to these above, and leave us with a standard autoconf
> function with one parameter.

isn't "0"/"1" the "preferred" way? It certainly is more bug proof,
since the build will complain if a macro isn't defined, whereas if
we use #ifdef subtle bugs, where macros aren't defined, can
silently effect us.

   Jim Jagielski   [|]   jim@jaguNET.com   [|]   http://www.jaguNET.com/
          "Hell is hot, that's never been disputed by anybody."

View raw message