Skip to content

Commit

Permalink
Add CPP statements for IncludeSpecs (haskell#307)
Browse files Browse the repository at this point in the history
(cherry picked from commit 1875bff)
  • Loading branch information
fendor committed Aug 30, 2021
1 parent 585492a commit dedd66b
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/HIE/Bios/Ghc/Gap.hs
Original file line number Diff line number Diff line change
Expand Up @@ -260,6 +260,9 @@ mapOverIncludePaths f df = df
G.IncludeSpecs
(map f $ G.includePathsQuote (includePaths df))
(map f $ G.includePathsGlobal (includePaths df))
#if __GLASGOW_HASKELL__ >= 902
(map f $ G.includePathsQuoteImplicit (includePaths df))
#endif
#else
map f (includePaths df)
#endif
Expand Down Expand Up @@ -521,4 +524,4 @@ hostIsDynamic :: Bool
hostIsDynamic = Platform.hostIsDynamic
#else
hostIsDynamic = G.dynamicGhc
#endif
#endif

0 comments on commit dedd66b

Please sign in to comment.