Skip to content

Commit

Permalink
fix(Internal.Token.Space): #elseif -> #elif, david learns the C prepr…
Browse files Browse the repository at this point in the history
…ocessor
  • Loading branch information
david-davies committed Nov 20, 2024
1 parent 035046b commit acf42d9
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/Text/Gigaparsec/Internal/Token/Space.hs
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,8 @@ import GHC.Conc (ThreadId(ThreadId))
#if __GLASGOW_HASKELL__ >= 908
-- GHC >= 9.8
import GHC.Conc (fromThreadID)

Check failure on line 72 in src/Text/Gigaparsec/Internal/Token/Space.hs

View workflow job for this annotation

GitHub Actions / GHC latest, Cabal latest

Module ‘GHC.Conc’ does not export ‘fromThreadID’.

Check failure on line 72 in src/Text/Gigaparsec/Internal/Token/Space.hs

View workflow job for this annotation

GitHub Actions / GHC latest, Cabal latest

Module ‘GHC.Conc’ does not export ‘fromThreadID’.
#elseif __GLASGOW_HASKELL__ >= 902

#elif __GLASGOW_HASKELL__ >= 902
-- GHC >= 9.2.1
-- base 4.17 - 4.18, `getThreadId` returns CULLong
import Foreign.C (CULLong(CULLong))
Expand Down

0 comments on commit acf42d9

Please sign in to comment.