fix build on windows
This commit is contained in:
parent
6441c4c177
commit
f240f0196c
1 changed files with 2 additions and 2 deletions
|
@ -15,13 +15,13 @@ module Utility.FileSize (
|
||||||
) where
|
) where
|
||||||
|
|
||||||
import System.PosixCompat.Files
|
import System.PosixCompat.Files
|
||||||
|
import qualified Utility.RawFilePath as R
|
||||||
#ifdef mingw32_HOST_OS
|
#ifdef mingw32_HOST_OS
|
||||||
import Control.Exception (bracket)
|
import Control.Exception (bracket)
|
||||||
import System.IO
|
import System.IO
|
||||||
|
import Utility.FileSystemEncoding
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
import qualified Utility.RawFilePath as R
|
|
||||||
|
|
||||||
type FileSize = Integer
|
type FileSize = Integer
|
||||||
|
|
||||||
{- Gets the size of a file.
|
{- Gets the size of a file.
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue