aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenis Vlasenko <vda.linux@googlemail.com>2007-02-07 20:27:03 +0000
committerDenis Vlasenko <vda.linux@googlemail.com>2007-02-07 20:27:03 +0000
commit710694f0e5bae17ceba8c6f2694b856d6eab1c63 (patch)
tree4da9a21c5f9bbbf3e8cadef77f67285cabd304c4
parentd4eda22d0c5c23b637309f3bd9b6dd84f9235328 (diff)
downloadbusybox-710694f0e5bae17ceba8c6f2694b856d6eab1c63.tar.gz
fix #ifdef ENABLE_xxx -> #if
-rw-r--r--include/libbb.h2
-rw-r--r--libbb/execable.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/libbb.h b/include/libbb.h
index d6f08ff73..d5a20d365 100644
--- a/include/libbb.h
+++ b/include/libbb.h
@@ -561,7 +561,7 @@ int execable_file(const char *name);
char *find_execable(const char *filename);
int exists_execable(const char *filename);
-#ifdef ENABLE_FEATURE_EXEC_PREFER_APPLETS
+#if ENABLE_FEATURE_EXEC_PREFER_APPLETS
int bb_execvp(const char *file, char *const argv[]);
#define BB_EXECVP(prog,cmd) bb_execvp(prog,cmd)
#define BB_EXECLP(prog,cmd,...) \
diff --git a/libbb/execable.c b/libbb/execable.c
index 601c7539e..ee10c6123 100644
--- a/libbb/execable.c
+++ b/libbb/execable.c
@@ -60,7 +60,7 @@ int exists_execable(const char *filename)
return 0;
}
-#ifdef ENABLE_FEATURE_EXEC_PREFER_APPLETS
+#if ENABLE_FEATURE_EXEC_PREFER_APPLETS
/* just like the real execvp, but try to launch an applet named 'file' first
*/
int bb_execvp(const char *file, char *const argv[])