From 81610b5af0bf868be778a7480e5ddeea027c59ba Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 24 Sep 2019 17:32:33 -0400 Subject: [PATCH] use #if not #ifdef --- Test/Framework.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Test/Framework.hs b/Test/Framework.hs index 8ffcb02cdf..93e9e3ad5b 100644 --- a/Test/Framework.hs +++ b/Test/Framework.hs @@ -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