[commit: packages/time] format-widths, tasty: get building with GHC 7.8 (df4fa15)

git at git.haskell.org git at git.haskell.org
Mon Feb 20 21:20:16 UTC 2017


Repository : ssh://git@git.haskell.org/time

On branches: format-widths,tasty
Link       : http://git.haskell.org/packages/time.git/commitdiff/df4fa15b87f748487a9165aafcd08fae99c4c2ee

>---------------------------------------------------------------

commit df4fa15b87f748487a9165aafcd08fae99c4c2ee
Author: Ashley Yakeley <ashley at yakeley.org>
Date:   Sun Jan 15 18:55:11 2017 -0800

    get building with GHC 7.8


>---------------------------------------------------------------

df4fa15b87f748487a9165aafcd08fae99c4c2ee
 lib/Data/Time/Clock/Internal/SystemTime.hs | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lib/Data/Time/Clock/Internal/SystemTime.hs b/lib/Data/Time/Clock/Internal/SystemTime.hs
index 2fa0012..bc9aad5 100644
--- a/lib/Data/Time/Clock/Internal/SystemTime.hs
+++ b/lib/Data/Time/Clock/Internal/SystemTime.hs
@@ -1,4 +1,6 @@
+#if __GLASGOW_HASKELL__ >= 710
 {-# OPTIONS -fno-warn-trustworthy-safe #-}
+#endif
 {-# LANGUAGE Trustworthy #-}
 module Data.Time.Clock.Internal.SystemTime
     (



More information about the ghc-commits mailing list