aboutsummaryrefslogtreecommitdiff
path: root/libbb
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2018-02-26 22:09:50 +0000
committerRon Yorston <rmy@pobox.com>2018-02-26 22:09:50 +0000
commit36c480447a025f965af871cac6722ffc2b550f05 (patch)
treed7167fdecc1e6f6ab916fcad1a1aa2e3e074686c /libbb
parent650f67507f2718dec0d4282afea619cfe7a53305 (diff)
downloadbusybox-w32-36c480447a025f965af871cac6722ffc2b550f05.tar.gz
busybox-w32-36c480447a025f965af871cac6722ffc2b550f05.tar.bz2
busybox-w32-36c480447a025f965af871cac6722ffc2b550f05.zip
libbb: ensure build details are only stored once
Determine the size of the MINGW_VER string at compile time so it's only stored once.
Diffstat (limited to 'libbb')
-rw-r--r--libbb/appletlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbb/appletlib.c b/libbb/appletlib.c
index 89f76443c..1bae940c2 100644
--- a/libbb/appletlib.c
+++ b/libbb/appletlib.c
@@ -820,7 +820,7 @@ int busybox_main(int argc UNUSED_PARAM, char **argv)
820 full_write2_str(bb_banner); /* reuse const string */ 820 full_write2_str(bb_banner); /* reuse const string */
821 full_write2_str(" multi-call binary\n"); /* reuse */ 821 full_write2_str(" multi-call binary\n"); /* reuse */
822#if defined(MINGW_VER) 822#if defined(MINGW_VER)
823 if (strlen(MINGW_VER)) { 823 if (sizeof(MINGW_VER) > 5) {
824 full_write2_str(MINGW_VER "\n\n"); 824 full_write2_str(MINGW_VER "\n\n");
825 } 825 }
826#endif 826#endif