make-pandoc-man-pages: CPP macros to import right time module.
This commit is contained in:
parent
bd645d9ae5
commit
f135ac2389
1 changed files with 4 additions and 1 deletions
|
@ -7,11 +7,14 @@ import System.FilePath
|
|||
import System.Environment (getArgs)
|
||||
import Text.Pandoc.Shared (normalize)
|
||||
import Data.Maybe ( catMaybes )
|
||||
import Data.Time.Clock (UTCTime(..))
|
||||
import Prelude hiding (catch)
|
||||
import Control.Exception ( catch )
|
||||
import System.IO.Error ( isDoesNotExistError )
|
||||
#if MIN_VERSION_directory(1,2,0)
|
||||
import Data.Time.Clock (UTCTime(..))
|
||||
#else
|
||||
import System.Time (ClockTime(..))
|
||||
#endif
|
||||
import System.Directory
|
||||
|
||||
main :: IO ()
|
||||
|
|
Loading…
Reference in a new issue