From e324184c0509cc0db168ce29546e1b52800a79c6 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Mon, 13 Aug 2007 10:36:25 +0000 Subject: s/#ifdef CONFIG_/#if ENABLE_/g --- coreutils/df.c | 8 ++++---- coreutils/wc.c | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) (limited to 'coreutils') diff --git a/coreutils/df.c b/coreutils/df.c index 5154eeb..f616398 100644 --- a/coreutils/df.c +++ b/coreutils/df.c @@ -22,7 +22,7 @@ #include #include "libbb.h" -#ifndef CONFIG_FEATURE_HUMAN_READABLE +#if !ENABLE_FEATURE_HUMAN_READABLE static long kscale(long b, long bs) { return ( b * (long long) bs + 1024/2 ) / 1024; @@ -34,7 +34,7 @@ int df_main(int argc, char **argv) { long blocks_used; long blocks_percent_used; -#ifdef CONFIG_FEATURE_HUMAN_READABLE +#if ENABLE_FEATURE_HUMAN_READABLE unsigned long df_disp_hr = 1024; #endif int status = EXIT_SUCCESS; @@ -46,7 +46,7 @@ int df_main(int argc, char **argv) static const char hdr_1k[] ALIGN1 = "1k-blocks"; const char *disp_units_hdr = hdr_1k; -#ifdef CONFIG_FEATURE_HUMAN_READABLE +#if ENABLE_FEATURE_HUMAN_READABLE opt_complementary = "h-km:k-hm:m-hk"; opt = getopt32(argc, argv, "hmk"); if (opt & 1) { @@ -125,7 +125,7 @@ int df_main(int argc, char **argv) } } -#ifdef CONFIG_FEATURE_HUMAN_READABLE +#if ENABLE_FEATURE_HUMAN_READABLE printf("%-20s %9s ", device, make_human_readable_str(s.f_blocks, s.f_bsize, df_disp_hr)); diff --git a/coreutils/wc.c b/coreutils/wc.c index e5353b4..e746365 100644 --- a/coreutils/wc.c +++ b/coreutils/wc.c @@ -43,7 +43,7 @@ #include "libbb.h" -#ifdef CONFIG_LOCALE_SUPPORT +#if ENABLE_LOCALE_SUPPORT #define isspace_given_isprint(c) isspace(c) #else #undef isspace -- cgit v1.1