stub out posix stuff for Windows

This is enough to let the configure program build.
This commit is contained in:
Joey Hess 2013-05-10 15:08:53 -05:00
parent 767a39bd42
commit a05b4619bb
8 changed files with 62 additions and 3 deletions

4
Common.hs Normal file → Executable file
View file

@ -1,4 +1,4 @@
{-# LANGUAGE PackageImports #-}
{-# LANGUAGE PackageImports, CPP #-}
module Common (module X) where
@ -16,8 +16,10 @@ import "MissingH" System.Path as X
import System.FilePath as X
import System.Directory as X
import System.IO as X hiding (FilePath)
#if 0
import System.Posix.Files as X
import System.Posix.IO as X
#endif
import System.Exit as X
import Utility.Misc as X