[PATCH 4/8] busybox -- libselinux utilities applets
Rob Landley
rob at landley.net
Tue Jan 30 07:11:28 PST 2007
On Monday 29 January 2007 6:49 pm, Denis Vlasenko wrote:
> On Monday 29 January 2007 15:06, KaiGai Kohei wrote:
> > BTW, I found both '#if ENABLE_FEATURE_CLEAN_UP' and 'if
(ENABLE_FEATURE_CLEAN_UP)'
> > in the source tree. Which manner is preferable?
>
> if() is better, but somethimes it won't compile:
>
> if (ENABLE_ZZZ) var.field_doesnt_exist_if_zzz_enabled = 0;
>
> Use #if in such cases.
Actually this is why the "use" macro was created.
USE_ZZZ(var.field_doesnt_exist_if_zzz_enabled = 0);
Rob
--
"Perfection is reached, not when there is no longer anything to add, but
when there is no longer anything to take away." - Antoine de Saint-Exupery
More information about the busybox
mailing list