From e5a24114f52d82d4405dfec0f294f39b13696ea3 Mon Sep 17 00:00:00 2001 From: Herbert Valerio Riedel Date: Fri, 19 Dec 2014 09:57:00 +0100 Subject: Tighten SafeHaskell This was forgotten in e14fbe2cb3bbd604dadcc3847882ca37edf548b3 --- System/Posix/Fcntl.hsc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'System/Posix') 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 ----------------------------------------------------------------------------- -- cgit v1.2.3