From e0bc46b891608f7e50223443d03a849fd16ac84d Mon Sep 17 00:00:00 2001 From: David Terei Date: Mon, 8 Dec 2014 22:03:15 -0800 Subject: More fixes for Safe Haskell bounds under GHC 7.10 --- System/Posix/Unistd.hsc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'System/Posix/Unistd.hsc') diff --git a/System/Posix/Unistd.hsc b/System/Posix/Unistd.hsc index afb8c08..2cbfaa2 100644 --- a/System/Posix/Unistd.hsc +++ b/System/Posix/Unistd.hsc @@ -1,6 +1,8 @@ {-# LANGUAGE CApiFFI #-} {-# LANGUAGE NondecreasingIndentation #-} -#ifdef __GLASGOW_HASKELL__ +#if __GLASGOW_HASKELL__ >= 709 +{-# LANGUAGE Safe #-} +#elif __GLASGOW_HASKELL__ >= 703 {-# LANGUAGE Trustworthy #-} #endif ----------------------------------------------------------------------------- -- cgit v1.2.3