diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-04-16 12:21:05 +0000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2007-04-16 12:21:05 +0000 |
commit | e468ef27b78d6968d08c9f35afea4b253d52d349 (patch) | |
tree | 7b46ad950b25c37996ab27a676b160075096e20a | |
parent | 0922192740ff5dc9eda18d9d7dac03b37d92f7cd (diff) | |
download | busybox-e468ef27b78d6968d08c9f35afea4b253d52d349.tar.gz |
- fix compilation if ENABLE_FEATURE_DD_IBS_OBS is off
-rw-r--r-- | coreutils/dd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/coreutils/dd.c b/coreutils/dd.c index 3011e005d..8b374aa8b 100644 --- a/coreutils/dd.c +++ b/coreutils/dd.c @@ -92,14 +92,14 @@ int dd_main(int argc, char **argv) OP_skip, OP_if, OP_of, -USE_FEATURE_DD_IBS_OBS( +#if ENABLE_FEATURE_DD_IBS_OBS OP_ibs, OP_obs, OP_conv, OP_conv_notrunc, OP_conv_sync, OP_conv_noerror, -) +#endif }; int flags = trunc_flag; size_t oc = 0, ibs = 512, obs = 512; @@ -139,7 +139,7 @@ USE_FEATURE_DD_IBS_OBS( bb_show_usage(); arg += key_len; /* Must fit into positive ssize_t */ - if (ENABLE_FEATURE_DD_IBS_OBS) { +#if ENABLE_FEATURE_DD_IBS_OBS if (what == OP_ibs) { ibs = xatoul_range_sfx(arg, 1, ((size_t)-1L)/2, dd_suffixes); continue; @@ -172,7 +172,7 @@ USE_FEATURE_DD_IBS_OBS( } continue; } - } +#endif if (what == OP_bs) { ibs = obs = xatoul_range_sfx(arg, 1, ((size_t)-1L)/2, dd_suffixes); continue; |