[PATCH 4/8] busybox -- libselinux utilities applets

Denis Vlasenko vda.linux at googlemail.com
Mon Jan 29 23:49:27 UTC 2007


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.
--
vda



More information about the busybox mailing list