aboutsummaryrefslogtreecommitdiffhomepage
path: root/System/Posix/Signals.hsc
diff options
context:
space:
mode:
authorGravatar Herbert Valerio Riedel <hvr@gnu.org>2016-01-30 22:55:06 +0100
committerGravatar Herbert Valerio Riedel <hvr@gnu.org>2016-01-31 00:19:53 +0100
commit716eccb11f324abc120c24ce0344b7094f1aa435 (patch)
tree85630e94c6f324b1f7b3dc876062dd0dd60d6b48 /System/Posix/Signals.hsc
parent4c25a0d4af899b43d557a6d2dc1b4291e5f75659 (diff)
Drop bitrotting HUGS support
It's very unlikely the current `unix` code stands any chance of even remotely work with Hugs...
Diffstat (limited to 'System/Posix/Signals.hsc')
-rw-r--r--System/Posix/Signals.hsc13
1 files changed, 2 insertions, 11 deletions
diff --git a/System/Posix/Signals.hsc b/System/Posix/Signals.hsc
index 9119190..e8fc1c5 100644
--- a/System/Posix/Signals.hsc
+++ b/System/Posix/Signals.hsc
@@ -602,16 +602,7 @@ awaitSignal maybe_sigset = do
foreign import ccall unsafe "sigsuspend"
c_sigsuspend :: Ptr CSigset -> IO CInt
-#ifdef __HUGS__
-foreign import ccall unsafe "sigdelset"
- c_sigdelset :: Ptr CSigset -> CInt -> IO CInt
-
-foreign import ccall unsafe "sigfillset"
- c_sigfillset :: Ptr CSigset -> IO CInt
-
-foreign import ccall unsafe "sigismember"
- c_sigismember :: Ptr CSigset -> CInt -> IO CInt
-#elif defined(darwin_HOST_OS) && __GLASGOW_HASKELL__ < 706
+#if defined(darwin_HOST_OS) && __GLASGOW_HASKELL__ < 706
-- see http://ghc.haskell.org/trac/ghc/ticket/7359#comment:3
-- To be removed when support for GHC 7.4.x is dropped
foreign import ccall unsafe "__hscore_sigdelset"
@@ -631,7 +622,7 @@ foreign import capi unsafe "signal.h sigfillset"
foreign import capi unsafe "signal.h sigismember"
c_sigismember :: Ptr CSigset -> CInt -> IO CInt
-#endif /* __HUGS__ */
+#endif
foreign import ccall unsafe "sigpending"
c_sigpending :: Ptr CSigset -> IO CInt