use #if not #ifdef
This commit is contained in:
parent
779caed3bc
commit
81610b5af0
1 changed files with 1 additions and 1 deletions
|
@ -226,7 +226,7 @@ isolateGitConfig a = Utility.Tmp.Dir.withTmpDir "testhome" $ \tmphome -> do
|
|||
a
|
||||
|
||||
removeDirectoryForCleanup :: FilePath -> IO ()
|
||||
#ifdef MIN_VERSION_directory(1,2,7)
|
||||
#if MIN_VERSION_directory(1,2,7)
|
||||
removeDirectoryForCleanup = removePathForcibly
|
||||
#else
|
||||
removeDirectoryForCleanup = removeDirectoryRecursive
|
||||
|
|
Loading…
Reference in a new issue