From 70ca88d03a7aa92720744832fd9d131a183e00be Mon Sep 17 00:00:00 2001 From: Ron Yorston Date: Sat, 6 Feb 2021 09:52:11 +0000 Subject: win32: code shrink Don't compile some code that isn't currently supported for WIN32. Saves 24 bytes. --- shell/ash.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'shell') 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 raise_interrupt(void) { pending_int = 0; +#if !ENABLE_PLATFORM_MINGW32 /* Signal is not automatically unmasked after it is raised, * do it ourself - unmask all signals */ sigprocmask_allsigs(SIG_UNBLOCK); +#endif /* pending_sig = 0; - now done in signal_handler() */ if (!(rootshell && iflag)) { -- cgit v1.2.3-55-g6feb