aboutsummaryrefslogtreecommitdiffhomepage
path: root/System/Posix/Error.hs
diff options
context:
space:
mode:
Diffstat (limited to 'System/Posix/Error.hs')
-rw-r--r--System/Posix/Error.hs4
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
-----------------------------------------------------------------------------