fix #ifdef ENABLE_xxx -> #if
This commit is contained in:
parent
d4eda22d0c
commit
710694f0e5
@ -561,7 +561,7 @@ int execable_file(const char *name);
|
|||||||
char *find_execable(const char *filename);
|
char *find_execable(const char *filename);
|
||||||
int exists_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[]);
|
int bb_execvp(const char *file, char *const argv[]);
|
||||||
#define BB_EXECVP(prog,cmd) bb_execvp(prog,cmd)
|
#define BB_EXECVP(prog,cmd) bb_execvp(prog,cmd)
|
||||||
#define BB_EXECLP(prog,cmd,...) \
|
#define BB_EXECLP(prog,cmd,...) \
|
||||||
|
@ -60,7 +60,7 @@ int exists_execable(const char *filename)
|
|||||||
return 0;
|
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
|
/* just like the real execvp, but try to launch an applet named 'file' first
|
||||||
*/
|
*/
|
||||||
int bb_execvp(const char *file, char *const argv[])
|
int bb_execvp(const char *file, char *const argv[])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user