diff options
author | Ian Lynagh <igloo@earth.li> | 2011-12-04 13:20:40 +0000 |
---|---|---|
committer | Ian Lynagh <igloo@earth.li> | 2011-12-04 13:20:40 +0000 |
commit | e4c93843aa0af97f547b2c23d47b46cae5a687bc (patch) | |
tree | e657455c5e183128bcb00ed97c8d031783838f24 /libraries/base/System/Posix | |
parent | 631796d5940549124ecb433a120553f8c6a10bb4 (diff) | |
download | haskell-e4c93843aa0af97f547b2c23d47b46cae5a687bc.tar.gz |
Roll back the sigset capi changes
They broken the build on OSX. See #2979.
Diffstat (limited to 'libraries/base/System/Posix')
-rw-r--r-- | libraries/base/System/Posix/Internals.hs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libraries/base/System/Posix/Internals.hs b/libraries/base/System/Posix/Internals.hs index a9c2eab89f..2c2b965256 100644 --- a/libraries/base/System/Posix/Internals.hs +++ b/libraries/base/System/Posix/Internals.hs @@ -480,13 +480,13 @@ foreign import ccall unsafe "HsBase.h mkfifo" foreign import ccall unsafe "HsBase.h pipe" c_pipe :: Ptr CInt -> IO CInt -foreign import capi unsafe "HsBase.h sigemptyset" +foreign import ccall unsafe "HsBase.h __hscore_sigemptyset" c_sigemptyset :: Ptr CSigset -> IO CInt -foreign import capi unsafe "HsBase.h sigaddset" +foreign import ccall unsafe "HsBase.h __hscore_sigaddset" c_sigaddset :: Ptr CSigset -> CInt -> IO CInt -foreign import capi unsafe "HsBase.h sigprocmask" +foreign import ccall unsafe "HsBase.h sigprocmask" c_sigprocmask :: CInt -> Ptr CSigset -> Ptr CSigset -> IO CInt foreign import ccall unsafe "HsBase.h tcgetattr" |