Skip to content
Snippets Groups Projects
Commit 77927c81 authored by Ian Lynagh's avatar Ian Lynagh
Browse files

Roll back the sigset capi changes

They broken the build on OSX. See #2979.
parent b02e9269
No related branches found
No related tags found
No related merge requests found
......@@ -598,7 +598,7 @@ awaitSignal maybe_sigset = do
-- XXX My manpage says it can also return EFAULT. And why is ignoring
-- EINTR the right thing to do?
foreign import capi unsafe "HsUnix.h sigsuspend"
foreign import ccall unsafe "sigsuspend"
c_sigsuspend :: Ptr CSigset -> IO CInt
#endif
......@@ -612,16 +612,16 @@ foreign import ccall unsafe "sigfillset"
foreign import ccall unsafe "sigismember"
c_sigismember :: Ptr CSigset -> CInt -> IO CInt
#else
foreign import capi unsafe "HsUnix.h sigdelset"
foreign import ccall unsafe "__hscore_sigdelset"
c_sigdelset :: Ptr CSigset -> CInt -> IO CInt
foreign import capi unsafe "HsUnix.h sigfillset"
foreign import ccall unsafe "__hscore_sigfillset"
c_sigfillset :: Ptr CSigset -> IO CInt
foreign import capi unsafe "HsUnix.h sigismember"
foreign import ccall unsafe "__hscore_sigismember"
c_sigismember :: Ptr CSigset -> CInt -> IO CInt
#endif /* __HUGS__ */
foreign import capi unsafe "HsUnix.h sigpending"
foreign import ccall unsafe "sigpending"
c_sigpending :: Ptr CSigset -> IO CInt
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment