Skip to content

Commit

Permalink
CPP mingw32_HOST_OS for more imports
Browse files Browse the repository at this point in the history
  • Loading branch information
philderbeast committed Nov 23, 2023
1 parent fc63b99 commit e89bf0b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Cabal/src/Distribution/Simple/GHC.hs
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@ import Distribution.Simple.Flag (Flag (..), toFlag)
import Distribution.Simple.GHC.Build
( componentGhcOptions
, exeTargetName
, flibBuildName
, flibTargetName
, isDynamic
)
Expand Down Expand Up @@ -128,7 +127,6 @@ import System.Directory
, doesFileExist
, getAppUserDataDirectory
, getDirectoryContents
, renameFile
)
import System.FilePath
( takeDirectory
Expand All @@ -137,6 +135,8 @@ import System.FilePath
)
import qualified System.Info
#ifndef mingw32_HOST_OS
import Distribution.Simple.GHC.Build (flibBuildName)
import System.Directory (renameFile)
import System.Posix (createSymbolicLink)
#endif /* mingw32_HOST_OS */

Expand Down

0 comments on commit e89bf0b

Please sign in to comment.