Skip to content

Commit

Permalink
Add CPP statements for IncludeSpecs
Browse files Browse the repository at this point in the history
  • Loading branch information
fendor committed Aug 23, 2021
1 parent 3703788 commit 23c21e8
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 23c21e8

Please sign in to comment.