From b1dcae0da4f5e9713fd54678ec42709a1744474b Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Sun, 17 Feb 2019 16:08:01 +0000 Subject: win32: fix POSIX build There were a few places where changes intended for the WIN32 build also affected the POSIX build. Fix these so the result of 'make defconfig; make' for busybox-w32 is identical to upstream BusyBox. --- libbb/appletlib.c | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'libbb') diff --git a/libbb/appletlib.c b/libbb/appletlib.c index be243de79..b7e5e3f1f 100644 --- a/libbb/appletlib.c +++ b/libbb/appletlib.c @@ -160,7 +160,11 @@ void FAST_FUNC bb_show_usage(void) ap--; } full_write2_str(bb_banner); +#if ENABLE_PLATFORM_MINGW32 full_write2_str(" multi-call binary\n"); +#else + full_write2_str(" multi-call binary.\n"); /* common string */ +#endif if (*p == '\b') full_write2_str("\nNo help available\n"); else { @@ -869,7 +873,11 @@ int busybox_main(int argc UNUSED_PARAM, char **argv) dup2(1, 2); full_write2_str(bb_banner); /* reuse const string */ +#if ENABLE_PLATFORM_MINGW32 full_write2_str(" multi-call binary\n"); /* reuse */ +#else + full_write2_str(" multi-call binary.\n"); /* reuse */ +#endif #if defined(MINGW_VER) if (sizeof(MINGW_VER) > 5) { full_write2_str(MINGW_VER "\n\n"); -- cgit v1.2.3-55-g6feb