diff options
author | Herbert Valerio Riedel <hvr@gnu.org> | 2014-12-19 09:57:00 +0100 |
---|---|---|
committer | Herbert Valerio Riedel <hvr@gnu.org> | 2014-12-19 09:57:00 +0100 |
commit | e5a24114f52d82d4405dfec0f294f39b13696ea3 (patch) | |
tree | 6bdbdcd4c8eac3fe4d7de65a985aeeda610deb41 /System | |
parent | 3c4ced48d5d82bc3042fdd058e684e87e7036166 (diff) |
Tighten SafeHaskell
This was forgotten in e14fbe2cb3bbd604dadcc3847882ca37edf548b3
Diffstat (limited to 'System')
-rw-r--r-- | System/Posix/Fcntl.hsc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/System/Posix/Fcntl.hsc b/System/Posix/Fcntl.hsc index a45f559..7760bb5 100644 --- a/System/Posix/Fcntl.hsc +++ b/System/Posix/Fcntl.hsc @@ -1,5 +1,7 @@ {-# LANGUAGE CApiFFI #-} -#ifdef __GLASGOW_HASKELL__ +#if __GLASGOW_HASKELL__ >= 709 +{-# LANGUAGE Safe #-} +#elif __GLASGOW_HASKELL__ >= 703 {-# LANGUAGE Trustworthy #-} #endif ----------------------------------------------------------------------------- |