aboutsummaryrefslogtreecommitdiffhomepage
path: root/System/Posix/IO/ByteString.hsc
diff options
context:
space:
mode:
Diffstat (limited to 'System/Posix/IO/ByteString.hsc')
-rw-r--r--System/Posix/IO/ByteString.hsc4
1 files changed, 3 insertions, 1 deletions
diff --git a/System/Posix/IO/ByteString.hsc b/System/Posix/IO/ByteString.hsc
index 87dfad6..b8bc87a 100644
--- a/System/Posix/IO/ByteString.hsc
+++ b/System/Posix/IO/ByteString.hsc
@@ -1,4 +1,6 @@
-#ifdef __GLASGOW_HASKELL__
+#if __GLASGOW_HASKELL__ >= 709
+{-# LANGUAGE Safe #-}
+#elif __GLASGOW_HASKELL__ >= 703
{-# LANGUAGE Trustworthy #-}
#endif
-----------------------------------------------------------------------------