packages feed

tilia-0.1.0.0: corpora/vendored/other/cpp/argument-at-the-end-behind-a-conditional-out.hs

{-# LANGUAGE CPP #-}

module Storage.Open (openFor) where

import Storage.Handle

openFor :: FilePath -> Mode -> IO Handle
openFor path mode =
  openWith
    path
    mode
#if MIN_VERSION_storage(0,2,0)
    closeOnExec
#endif