blob: b0f886f716fb7a2db94803e13cb7618e2b746b81 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
$NetBSD: patch-as,v 1.3 2008/07/20 00:26:52 kristerw Exp $
--- libraries/unix/System/Posix/Signals.hs.orig 2008-07-19 19:59:17.000000000 +0200
+++ libraries/unix/System/Posix/Signals.hs 2008-07-19 20:00:49.000000000 +0200
@@ -502,7 +502,7 @@
-- ignore the return value; according to the docs it can only ever be
-- (-1) with errno set to EINTR.
-foreign import ccall unsafe "sigsuspend"
+foreign import ccall unsafe "__hsunix_sigsuspend"
c_sigsuspend :: Ptr CSigset -> IO CInt
#endif
@@ -526,6 +526,6 @@
c_sigismember :: Ptr CSigset -> CInt -> IO CInt
#endif /* __HUGS__ */
-foreign import ccall unsafe "sigpending"
+foreign import ccall unsafe "__hsunix_sigpending"
c_sigpending :: Ptr CSigset -> IO CInt
|