diff options
author | David Terei <code@davidterei.com> | 2014-12-08 22:03:15 -0800 |
---|---|---|
committer | David Terei <code@davidterei.com> | 2014-12-08 22:07:57 -0800 |
commit | e0bc46b891608f7e50223443d03a849fd16ac84d (patch) | |
tree | 0b61724afdd41a42ae029b6ab97c33a2ad9527e3 /System/Posix/Error.hs | |
parent | 59861061f2ab1d3f4b28e83d2dcc3adf0f9acb04 (diff) |
More fixes for Safe Haskell bounds under GHC 7.10
Diffstat (limited to 'System/Posix/Error.hs')
-rw-r--r-- | System/Posix/Error.hs | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/System/Posix/Error.hs b/System/Posix/Error.hs index db4b5a9..d3b10a7 100644 --- a/System/Posix/Error.hs +++ b/System/Posix/Error.hs @@ -1,5 +1,7 @@ {-# LANGUAGE CPP #-} -#ifdef __GLASGOW_HASKELL__ +#if __GLASGOW_HASKELL__ >= 709 +{-# LANGUAGE Safe #-} +#elif __GLASGOW_HASKELL__ >= 703 {-# LANGUAGE Trustworthy #-} #endif ----------------------------------------------------------------------------- |