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

Fixes for NetBSD

Based on a patch from Arnaud Degroote <degroote@NetBSD.org> in
trac #5480.
parent c8fada0d
No related branches found
No related tags found
No related merge requests found
......@@ -299,7 +299,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))
#if defined(__GLASGOW_HASKELL__) && (defined(openbsd_HOST_OS) || defined(freebsd_HOST_OS) || defined(dragonfly_HOST_OS)) || defined(netbsd_HOST_OS)
foreign import ccall unsafe "genericRaise"
c_raise :: CInt -> IO CInt
#else
......
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