[Git][ghc/ghc][wip/T22010] Fix imports

Jaro Reinders (@Noughtmare) gitlab at gitlab.haskell.org
Thu Jun 15 13:20:11 UTC 2023



Jaro Reinders pushed to branch wip/T22010 at Glasgow Haskell Compiler / GHC


Commits:
588b703b by Jaro Reinders at 2023-06-15T15:20:02+02:00
Fix imports

- - - - -


1 changed file:

- compiler/GHC/Types/Unique/Supply.hs


Changes:

=====================================
compiler/GHC/Types/Unique/Supply.hs
=====================================
@@ -46,10 +46,10 @@ import Foreign.Storable
 
 #include "MachDeps.h"
 
-#if MIN_VERSION_GLASGOW_HASKELL(9,1,0,0)
+#if MIN_VERSION_GLASGOW_HASKELL(9,1,0,0) && WORD_SIZE_IN_BITS == 64
 import GHC.Word( Word64(..) )
 import GHC.Exts( fetchAddWordAddr#, plusWord#, readWordOffAddr# )
-#if MIN_VERSION_GLASGOW_HASKELL(9,4,0,0) && WORD_SIZE_IN_BITS == 64
+#if MIN_VERSION_GLASGOW_HASKELL(9,3,0,0)
 import GHC.Exts( wordToWord64# )
 #endif
 #endif



View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/588b703b73634756458efd846fae0fc68de4d20a

-- 
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/588b703b73634756458efd846fae0fc68de4d20a
You're receiving this email because of your account on gitlab.haskell.org.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20230615/d9088060/attachment.html>


More information about the ghc-commits mailing list