aboutsummaryrefslogtreecommitdiff
path: root/Common.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <id@joeyh.name>2013-05-10 15:08:53 -0500
committerGravatar Joey Hess <id@joeyh.name>2013-05-10 15:08:53 -0500
commit493db9a024a89f1f696a858789ce55844a180215 (patch)
tree3d34bea905c3623156a07406f027bf50e005c881 /Common.hs
parent720d0230d6333a3cc3a7d533ef09e921ed6b0d8f (diff)
stub out posix stuff for Windows
This is enough to let the configure program build.
Diffstat (limited to 'Common.hs')
-rwxr-xr-x[-rw-r--r--]Common.hs4
1 files changed, 3 insertions, 1 deletions
diff --git a/Common.hs b/Common.hs
index 5c355a6ed..6f59acc76 100644..100755
--- a/Common.hs
+++ b/Common.hs
@@ -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