aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2023-12-12 11:18:57 +0000
committerRon Yorston <rmy@pobox.com>2023-12-12 11:18:57 +0000
commite4ab8fe064745abd57e3238f1ae29067e6ea8a22 (patch)
treee4cba3db0b58db7fae5b0ee883bf53aad6d001f7 /include
parent70bf64f8d4dd688f0d1bafb587a8c664392d27da (diff)
downloadbusybox-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.h10
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
1328int find_applet_by_name(const char *name) FAST_FUNC; 1328int find_applet_by_name(const char *name) FAST_FUNC;
1329void run_applet_no_and_exit(int a, const char *name, char **argv) NORETURN FAST_FUNC; 1329void 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
1332int is_applet_preferred(const char *name, const char *path) FAST_FUNC; 1332int is_applet_preferred(const char *name, const char *path) FAST_FUNC;
1333int find_applet_by_name_with_path(const char *name, const char *path) FAST_FUNC; 1333int 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
1339void show_usage_if_dash_dash_help(int applet_no, char **argv) FAST_FUNC; 1339void show_usage_if_dash_dash_help(int applet_no, char **argv) FAST_FUNC;