diff options
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 ----------------------------------------------------------------------------- |