diff options
| author | hallgren <hallgren@chalmers.se> | 2013-03-11 12:57:09 +0000 |
|---|---|---|
| committer | hallgren <hallgren@chalmers.se> | 2013-03-11 12:57:09 +0000 |
| commit | d1c5fafc69f85ea69e7f1c68109422c5e2c3791d (patch) | |
| tree | 3d3fa1d1ab1790265868887d85ac46f7bac8af71 /src/compiler/GF/System | |
| parent | 0173b5f4ff1bb1aa07b15c441533a309036c8864 (diff) | |
Additional changes for GHC 7.4 & 7.6 compatibility
Diffstat (limited to 'src/compiler/GF/System')
| -rw-r--r-- | src/compiler/GF/System/Directory.hs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/compiler/GF/System/Directory.hs b/src/compiler/GF/System/Directory.hs new file mode 100644 index 000000000..3ee1f3550 --- /dev/null +++ b/src/compiler/GF/System/Directory.hs @@ -0,0 +1,7 @@ +-- | Isolate backwards incompatible library changes to 'getModificationTime' +module GF.System.Directory(getModificationTime,module D) where +import qualified System.Directory as D +import System.Directory as D hiding (getModificationTime) +import Data.Time.Compat + +getModificationTime path = fmap toUTCTime (D.getModificationTime path) |
