diff options
author | John Ericson <John.Ericson@Obsidian.Systems> | 2021-10-27 04:06:46 +0000 |
---|---|---|
committer | John Ericson <John.Ericson@Obsidian.Systems> | 2021-10-27 20:55:50 +0000 |
commit | 5a6f3c285b986891b8b56f8f1b29901892ca4e15 (patch) | |
tree | 55addb41e4608890c406b93456c4b02465cf060d /libraries/ghc-boot/GHC/Data/ShortText.hs | |
parent | 638f65482ca5265c268aa97abfcc14cdc27e46ba (diff) | |
download | haskell-wip/clean-compiler-includes.tar.gz |
Avoid GHC_STAGE and other include bitswip/clean-compiler-includes
We should strive to make our includes in terms of the RTS as much as
possible. One place there that is not possible, the llvm version, we
make a new tiny header
Stage numbers are somewhat arbitrary, if we simple need a newer RTS, we
should say so.
Diffstat (limited to 'libraries/ghc-boot/GHC/Data/ShortText.hs')
-rw-r--r-- | libraries/ghc-boot/GHC/Data/ShortText.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libraries/ghc-boot/GHC/Data/ShortText.hs b/libraries/ghc-boot/GHC/Data/ShortText.hs index 108b5a43cd..815c3edb64 100644 --- a/libraries/ghc-boot/GHC/Data/ShortText.hs +++ b/libraries/ghc-boot/GHC/Data/ShortText.hs @@ -14,7 +14,7 @@ -- -- This can be removed when we exit the boot compiler window. Thus once we drop GHC-9.2 as boot compiler, -- we can drop this code as well. -#if GHC_STAGE < 1 +#if !MIN_VERSION_GLASGOW_HASKELL(9,3,0,0) {-# OPTIONS_GHC -fignore-interface-pragmas #-} #endif -- | |