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/Terminal.hsc | |
parent | 59861061f2ab1d3f4b28e83d2dcc3adf0f9acb04 (diff) |
More fixes for Safe Haskell bounds under GHC 7.10
Diffstat (limited to 'System/Posix/Terminal.hsc')
-rw-r--r-- | System/Posix/Terminal.hsc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/System/Posix/Terminal.hsc b/System/Posix/Terminal.hsc index be2d040..c8335a6 100644 --- a/System/Posix/Terminal.hsc +++ b/System/Posix/Terminal.hsc @@ -1,4 +1,6 @@ -#ifdef __GLASGOW_HASKELL__ +#if __GLASGOW_HASKELL__ >= 709 +{-# LANGUAGE Safe #-} +#elif __GLASGOW_HASKELL__ >= 703 {-# LANGUAGE Trustworthy #-} #endif ----------------------------------------------------------------------------- |