mirror of
https://github.com/haskell-effectful/effectful.git
synced 2024-11-30 03:20:03 +03:00
Adjust CPP
This commit is contained in:
parent
0c1463ab83
commit
a38364006b
@ -22,7 +22,7 @@ weakThreadId :: ThreadId -> Int
|
||||
weakThreadId (ThreadId t#) = fromIntegral $ rts_getThreadId t#
|
||||
|
||||
foreign import ccall unsafe "rts_getThreadId"
|
||||
#if __GLASGOW_HASKELL__ >= 903
|
||||
#if __GLASGOW_HASKELL__ >= 904
|
||||
-- https://gitlab.haskell.org/ghc/ghc/-/merge_requests/6163
|
||||
rts_getThreadId :: ThreadId# -> CULLong
|
||||
#elif __GLASGOW_HASKELL__ >= 900
|
||||
|
Loading…
Reference in New Issue
Block a user