wiiindddoowws
This commit is contained in:
parent
e7ae56114b
commit
f404379716
1 changed files with 3 additions and 1 deletions
|
@ -50,9 +50,11 @@ absNormPath dir path = Just $ combine dir path
|
|||
#ifndef mingw32_HOST_OS
|
||||
absNormPathUnix dir path = MissingH.absNormPath dir path
|
||||
#else
|
||||
absNormPathUnix dir path = MissingH.absNormPath (fromdos dir) (fromdos path)
|
||||
absNormPathUnix dir path = todos <$> MissingH.absNormPath (fromdos dir) (fromdos path)
|
||||
where
|
||||
fromdos = replace "\\" "/"
|
||||
todos = replace "/" "\\"
|
||||
|
||||
#endif
|
||||
|
||||
{- Returns the parent directory of a path.
|
||||
|
|
Loading…
Reference in a new issue