summaryrefslogtreecommitdiff
path: root/compiler/GHC/Data/FastString.hs
diff options
context:
space:
mode:
authorSylvain Henry <sylvain@haskus.fr>2021-05-06 11:30:57 +0200
committerMarge Bot <ben+marge-bot@smart-cactus.org>2021-05-12 21:41:43 -0400
commitf78c25da05849797dab684a221923aeac244c69b (patch)
tree2be99a252aaf70a6848eb1f39ee39e13ae1578df /compiler/GHC/Data/FastString.hs
parenta7473e03e24878c2192958695759f5d3d415215c (diff)
downloadhaskell-f78c25da05849797dab684a221923aeac244c69b.tar.gz
Move GlobalVar macros into GHC.Utils.GlobalVars
That's the only place where they are used and they shouldn't be used elsewhere.
Diffstat (limited to 'compiler/GHC/Data/FastString.hs')
-rw-r--r--compiler/GHC/Data/FastString.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/compiler/GHC/Data/FastString.hs b/compiler/GHC/Data/FastString.hs
index 590f043d4b..ac44a68d54 100644
--- a/compiler/GHC/Data/FastString.hs
+++ b/compiler/GHC/Data/FastString.hs
@@ -112,7 +112,8 @@ module GHC.Data.FastString
lengthPS
) where
-#include "HsVersions.h"
+-- For GHC_STAGE
+#include "ghcplatform.h"
import GHC.Prelude as Prelude