aboutsummaryrefslogtreecommitdiffhomepage
path: root/System/Posix/IO.hsc
diff options
context:
space:
mode:
authorGravatar David Terei <code@davidterei.com>2014-11-12 18:12:18 -0800
committerGravatar Herbert Valerio Riedel <hvr@gnu.org>2014-12-06 14:02:03 +0100
commit7222765c40868100e2527ec7c4a0832e68a786a0 (patch)
treec74c2744fbcee331c0ae1fd82a03350b9e66d5bc /System/Posix/IO.hsc
parent054df8427dc6480bad1f782371a6b7c3ee199574 (diff)
Tighten Safe Haskell bounds, fixes new warning in GHC 7.10.
Closes #27
Diffstat (limited to 'System/Posix/IO.hsc')
-rw-r--r--System/Posix/IO.hsc4
1 files changed, 3 insertions, 1 deletions
diff --git a/System/Posix/IO.hsc b/System/Posix/IO.hsc
index eeabb24..41e0b3b 100644
--- a/System/Posix/IO.hsc
+++ b/System/Posix/IO.hsc
@@ -1,4 +1,6 @@
-#ifdef __GLASGOW_HASKELL__
+#if __GLASGOW_HASKELL__ >= 709
+{-# LANGUAGE Safe #-}
+#elif __GLASGOW_HASKELL__ >= 703
{-# LANGUAGE Trustworthy #-}
#endif
-----------------------------------------------------------------------------