summaryrefslogtreecommitdiff
path: root/Types/LockPool.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Types/LockPool.hs')
-rw-r--r--Types/LockPool.hs10
1 files changed, 1 insertions, 9 deletions
diff --git a/Types/LockPool.hs b/Types/LockPool.hs
index dd392f28b..c7d411cdc 100644
--- a/Types/LockPool.hs
+++ b/Types/LockPool.hs
@@ -5,20 +5,12 @@
- Licensed under the GNU GPL version 3 or higher.
-}
-{-# LANGUAGE CPP #-}
-
module Types.LockPool (
LockPool,
LockHandle
) where
import qualified Data.Map as M
-
-#ifndef mingw32_HOST_OS
-import System.Posix.Types (Fd)
-type LockHandle = Fd
-#else
-import Utility.WinLock -- defines LockHandle
-#endif
+import Utility.LockFile
type LockPool = M.Map FilePath LockHandle