[BusyBox] It's the preprocessor, stupid

Erik Andersen andersen at lineo.com
Tue Jan 30 19:02:12 UTC 2001


On Tue Jan 30, 2001 at 11:55:36AM -0700, Mark Whitley wrote:
> On Tue, Jan 30, 2001 at 10:45:47AM -0800, Larry Doolittle wrote:
> > The appended patch fixes my NFS mounting problems.
> > The value of NFS_MOUNT_VERSION has to be known to
> > the preprocessor, because of directives like:
> > #if NFS_MOUNT_VERSION >= 3
> > A "static const int" isn't good enough.
> 
> [snip]
> 
> Good catch, Larry. Applied and committed.

Agreed -- Good catch, Larry.

BTW, I asked Mark to look over his "static const int" patch
to check for any other cases like this, and he didn't find
any.  

 -Erik

--
Erik B. Andersen   email:  andersen at lineo.com
--This message was written using 73% post-consumer electrons--





More information about the busybox mailing list