diff options
author | Ian Lynagh <ian@well-typed.com> | 2013-01-17 19:21:24 +0000 |
---|---|---|
committer | Ian Lynagh <ian@well-typed.com> | 2013-01-17 19:21:24 +0000 |
commit | 4b0731773035165026728feaddbc489dbb18b0f0 (patch) | |
tree | be71b2f3afb7da947f448e35c66f666aff246ec7 /System/Posix/Signals.hsc | |
parent | 0b0915a188e30db83b43e478a4a52990461ad7b2 (diff) |
Use pthread_kill on OS X too
Fixes signals004(threaded1,threaded2) on OS X 32.
Diffstat (limited to 'System/Posix/Signals.hsc')
-rw-r--r-- | System/Posix/Signals.hsc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/System/Posix/Signals.hsc b/System/Posix/Signals.hsc index c49775d..6290bc9 100644 --- a/System/Posix/Signals.hsc +++ b/System/Posix/Signals.hsc @@ -295,7 +295,7 @@ foreign import ccall unsafe "killpg" raiseSignal :: Signal -> IO () raiseSignal sig = throwErrnoIfMinus1_ "raiseSignal" (c_raise sig) -#if defined(__GLASGOW_HASKELL__) && (defined(openbsd_HOST_OS) || defined(freebsd_HOST_OS) || defined(dragonfly_HOST_OS) || defined(netbsd_HOST_OS)) +#if defined(__GLASGOW_HASKELL__) && (defined(openbsd_HOST_OS) || defined(freebsd_HOST_OS) || defined(dragonfly_HOST_OS) || defined(netbsd_HOST_OS) || defined(darwin_HOST_OS)) foreign import ccall unsafe "genericRaise" c_raise :: CInt -> IO CInt #else |