diff options
author | Ron Yorston <rmy@pobox.com> | 2023-12-12 11:18:57 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2023-12-12 11:18:57 +0000 |
commit | e4ab8fe064745abd57e3238f1ae29067e6ea8a22 (patch) | |
tree | e4cba3db0b58db7fae5b0ee883bf53aad6d001f7 /include | |
parent | 70bf64f8d4dd688f0d1bafb587a8c664392d27da (diff) | |
download | busybox-w32-e4ab8fe064745abd57e3238f1ae29067e6ea8a22.tar.gz busybox-w32-e4ab8fe064745abd57e3238f1ae29067e6ea8a22.tar.bz2 busybox-w32-e4ab8fe064745abd57e3238f1ae29067e6ea8a22.zip |
win32: tidy up conditional compilation of applet override
This doesn't affect the generated binary, at least in the default
configuration.
Diffstat (limited to 'include')
-rw-r--r-- | include/libbb.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/include/libbb.h b/include/libbb.h index a3611abc3..a7b19b1c9 100644 --- a/include/libbb.h +++ b/include/libbb.h | |||
@@ -1327,13 +1327,13 @@ void run_noexec_applet_and_exit(int a, const char *name, char **argv) NORETURN F | |||
1327 | #ifndef BUILD_INDIVIDUAL | 1327 | #ifndef BUILD_INDIVIDUAL |
1328 | int find_applet_by_name(const char *name) FAST_FUNC; | 1328 | int find_applet_by_name(const char *name) FAST_FUNC; |
1329 | void run_applet_no_and_exit(int a, const char *name, char **argv) NORETURN FAST_FUNC; | 1329 | void run_applet_no_and_exit(int a, const char *name, char **argv) NORETURN FAST_FUNC; |
1330 | # if ENABLE_PLATFORM_MINGW32 && \ | 1330 | # if ENABLE_PLATFORM_MINGW32 |
1331 | (ENABLE_FEATURE_PREFER_APPLETS || ENABLE_FEATURE_SH_STANDALONE) | 1331 | # if ENABLE_FEATURE_PREFER_APPLETS || ENABLE_FEATURE_SH_STANDALONE |
1332 | int is_applet_preferred(const char *name, const char *path) FAST_FUNC; | 1332 | int is_applet_preferred(const char *name, const char *path) FAST_FUNC; |
1333 | int find_applet_by_name_with_path(const char *name, const char *path) FAST_FUNC; | 1333 | int find_applet_by_name_with_path(const char *name, const char *path) FAST_FUNC; |
1334 | # else | 1334 | # else |
1335 | # define is_applet_preferred(n, p) (1) | 1335 | # define is_applet_preferred(n, p) (1) |
1336 | # define find_applet_by_name_with_path(n, p) find_applet_by_name(n) | 1336 | # endif |
1337 | # endif | 1337 | # endif |
1338 | #endif | 1338 | #endif |
1339 | void show_usage_if_dash_dash_help(int applet_no, char **argv) FAST_FUNC; | 1339 | void show_usage_if_dash_dash_help(int applet_no, char **argv) FAST_FUNC; |