diff options
author | Joey Hess <id@joeyh.name> | 2013-05-10 16:29:59 -0500 |
---|---|---|
committer | Joey Hess <id@joeyh.name> | 2013-05-10 16:29:59 -0500 |
commit | 5d0476bf59674b39fa6bad7e4446b5c741181143 (patch) | |
tree | 67897681b96fb9e79990033822e1a645de1f96a7 /Git | |
parent | 812f7d6c564e297b67850f2aa4751141a8f68e99 (diff) |
stub out POSIX stuff
Diffstat (limited to 'Git')
-rwxr-xr-x[-rw-r--r--] | Git/Construct.hs | 4 | ||||
-rwxr-xr-x[-rw-r--r--] | Git/CurrentRepo.hs | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/Git/Construct.hs b/Git/Construct.hs index 633e50b6b..2d00f18a1 100644..100755 --- a/Git/Construct.hs +++ b/Git/Construct.hs @@ -5,6 +5,8 @@ - Licensed under the GNU GPL version 3 or higher. -} +{-# LANGUAGE CPP #-} + module Git.Construct ( fromCwd, fromAbsPath, @@ -21,7 +23,9 @@ module Git.Construct ( checkForRepo, ) where +#if 0 import System.Posix.User +#endif import qualified Data.Map as M hiding (map, split) import Network.URI diff --git a/Git/CurrentRepo.hs b/Git/CurrentRepo.hs index 482873960..785542663 100644..100755 --- a/Git/CurrentRepo.hs +++ b/Git/CurrentRepo.hs @@ -5,10 +5,14 @@ - Licensed under the GNU GPL version 3 or higher. -} +{-# LANGUAGE CPP #-} + module Git.CurrentRepo where +#if 0 import System.Posix.Directory (changeWorkingDirectory) import System.Posix.Env (getEnv, unsetEnv) +#endif import Common import Git.Types |