We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent df877ba commit 33e770eCopy full SHA for 33e770e
posix/System/File/Platform.hs
@@ -26,10 +26,7 @@ import System.Posix.Internals (c_getpid)
26
import GHC.IORef (atomicModifyIORef'_)
27
import Foreign.C (getErrno, eEXIST, errnoToIOError)
28
29
-#if MIN_VERSION_filepath(1, 5, 0)
30
-import "os-string" System.OsString.Internal.Types (PosixString(..), PosixChar(..))
31
-import qualified "os-string" System.OsString.Data.ByteString.Short as BC
32
-#else
+#if !MIN_VERSION_filepath(1, 5, 0)
33
import Data.Coerce (coerce)
34
import "filepath" System.OsString.Internal.Types (PosixString(..), PosixChar(..))
35
import qualified "filepath" System.OsPath.Data.ByteString.Short as BC
0 commit comments