projects
/
ghc-base.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[project @ 2005-02-15 08:09:43 by ross]
[ghc-base.git]
/
System
/
Environment.hs
diff --git
a/System/Environment.hs
b/System/Environment.hs
index
de60de8
..
3271e29
100644
(file)
--- a/
System/Environment.hs
+++ b/
System/Environment.hs
@@
-34,7
+34,6
@@
import Foreign.C
import Control.Exception ( bracket )
import Control.Monad
import GHC.IOBase
import Control.Exception ( bracket )
import Control.Monad
import GHC.IOBase
-#include "ghcconfig.h"
#endif
#ifdef __HUGS__
#endif
#ifdef __HUGS__
@@
-102,7
+101,7
@@
unpackProgName argv = do
isPathSeparator :: Char -> Bool
isPathSeparator '/' = True
isPathSeparator :: Char -> Bool
isPathSeparator '/' = True
-#ifdef mingw32_TARGET_OS
+#ifdef mingw32_HOST_OS
isPathSeparator '\\' = True
#endif
isPathSeparator _ = False
isPathSeparator '\\' = True
#endif
isPathSeparator _ = False