diff options
Diffstat (limited to 'Git/FilePath.hs')
-rw-r--r-- | Git/FilePath.hs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Git/FilePath.hs b/Git/FilePath.hs index c3813fe9e..891f9991d 100644 --- a/Git/FilePath.hs +++ b/Git/FilePath.hs @@ -44,14 +44,14 @@ asTopFilePath file = TopFilePath file type InternalGitPath = String toInternalGitPath :: FilePath -> InternalGitPath -#ifndef __WINDOWS__ +#ifndef mingw32_HOST_OS toInternalGitPath = id #else toInternalGitPath = replace "\\" "/" #endif fromInternalGitPath :: InternalGitPath -> FilePath -#ifndef __WINDOWS__ +#ifndef mingw32_HOST_OS fromInternalGitPath = id #else fromInternalGitPath = replace "/" "\\" |