diff options
author | Ryan Scott <ryan.gl.scott@gmail.com> | 2021-03-05 19:13:39 -0500 |
---|---|---|
committer | Marge Bot <ben+marge-bot@smart-cactus.org> | 2021-03-09 02:46:20 -0500 |
commit | 0a709dd9876e40c19c934692415c437ac434318c (patch) | |
tree | 0ac02b3eb1d1397cf0bfa495c84b0ff2e8834bde /libraries/base/GHC/Windows.hs | |
parent | bfa862503a9f8b2e8a61b9499d2cc3be789779fd (diff) | |
download | haskell-0a709dd9876e40c19c934692415c437ac434318c.tar.gz |
Require GHC 8.10 as the minimum compiler for bootstrapping
Now that GHC 9.0.1 is released, it is time to drop support for bootstrapping
with GHC 8.8, as we only support building with the previous two major GHC
releases. As an added bonus, this allows us to remove several bits of CPP that
are either always true or no longer reachable.
Diffstat (limited to 'libraries/base/GHC/Windows.hs')
-rw-r--r-- | libraries/base/GHC/Windows.hs | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/libraries/base/GHC/Windows.hs b/libraries/base/GHC/Windows.hs index d8f8bef804..be0c3837a9 100644 --- a/libraries/base/GHC/Windows.hs +++ b/libraries/base/GHC/Windows.hs @@ -74,7 +74,7 @@ module GHC.Windows ( nullHANDLE, ) where -import Data.Bits (shiftL, shiftR, (.|.), (.&.)) +import Data.Bits (finiteBitSize, shiftL, shiftR, (.|.), (.&.)) import Data.Char import Data.OldList import Data.Maybe @@ -93,15 +93,6 @@ import System.IO.Error import qualified Numeric -#if MIN_VERSION_base(4,7,0) -import Data.Bits (finiteBitSize) -#else -import Data.Bits (Bits, bitSize) - -finiteBitSize :: (Bits a) => a -> Int -finiteBitSize = bitSize -#endif - #include "windows_cconv.h" type BOOL = Bool |