diff options
author | Ron Yorston <rmy@pobox.com> | 2021-02-06 09:52:11 +0000 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2021-02-06 09:52:11 +0000 |
commit | 70ca88d03a7aa92720744832fd9d131a183e00be (patch) | |
tree | 937e9e211ba75875b9a5f0f5a444b45839a85783 /shell | |
parent | 32e19e7ae8b0d76d69871ba234e8f0af31baff4e (diff) | |
download | busybox-w32-70ca88d03a7aa92720744832fd9d131a183e00be.tar.gz busybox-w32-70ca88d03a7aa92720744832fd9d131a183e00be.tar.bz2 busybox-w32-70ca88d03a7aa92720744832fd9d131a183e00be.zip |
win32: code shrink
Don't compile some code that isn't currently supported for WIN32.
Saves 24 bytes.
Diffstat (limited to 'shell')
-rw-r--r-- | shell/ash.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/shell/ash.c b/shell/ash.c index b9bdd64e5..c400612d9 100644 --- a/shell/ash.c +++ b/shell/ash.c | |||
@@ -827,9 +827,11 @@ static void | |||
827 | raise_interrupt(void) | 827 | raise_interrupt(void) |
828 | { | 828 | { |
829 | pending_int = 0; | 829 | pending_int = 0; |
830 | #if !ENABLE_PLATFORM_MINGW32 | ||
830 | /* Signal is not automatically unmasked after it is raised, | 831 | /* Signal is not automatically unmasked after it is raised, |
831 | * do it ourself - unmask all signals */ | 832 | * do it ourself - unmask all signals */ |
832 | sigprocmask_allsigs(SIG_UNBLOCK); | 833 | sigprocmask_allsigs(SIG_UNBLOCK); |
834 | #endif | ||
833 | /* pending_sig = 0; - now done in signal_handler() */ | 835 | /* pending_sig = 0; - now done in signal_handler() */ |
834 | 836 | ||
835 | if (!(rootshell && iflag)) { | 837 | if (!(rootshell && iflag)) { |