diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2016-01-30 22:38:28 +0100 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2016-01-31 00:19:53 +0100 |
commit | 944b05c4aa35378db18cee4fcd4e1f02e67ce645 (patch) | |
tree | f27e6e14e14aa17224e482a42d255baca88bb6a2 /System | |
parent | 731f7dddcbae3c4332beac742605dade2d4a80ad (diff) |
Remove obsolete windows-related #ifdefs
We haven't properly supported Windows for some time now, and we wouldn't
have any way to test anyway, since GHC doesn't support Cygwin anymore
either.
Diffstat (limited to 'System')
-rw-r--r-- | System/Posix/Signals.hsc | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/System/Posix/Signals.hsc b/System/Posix/Signals.hsc index d4c6d51..9119190 100644 --- a/System/Posix/Signals.hsc +++ b/System/Posix/Signals.hsc @@ -86,9 +86,7 @@ module System.Posix.Signals ( -- * Waiting for signals getPendingSignals, -#ifndef cygwin32_HOST_OS awaitSignal, -#endif #ifdef __GLASGOW_HASKELL__ -- * The @NOCLDSTOP@ flag @@ -575,8 +573,6 @@ getPendingSignals = do throwErrnoIfMinus1_ "getPendingSignals" (c_sigpending p) return (SignalSet fp) -#ifndef cygwin32_HOST_OS - -- | @awaitSignal iset@ suspends execution until an interrupt is received. -- If @iset@ is @Just s@, @awaitSignal@ calls @sigsuspend@, installing -- @s@ as the new signal mask before suspending execution; otherwise, it @@ -605,7 +601,6 @@ awaitSignal maybe_sigset = do foreign import ccall unsafe "sigsuspend" c_sigsuspend :: Ptr CSigset -> IO CInt -#endif #ifdef __HUGS__ foreign import ccall unsafe "sigdelset" |