From 7222765c40868100e2527ec7c4a0832e68a786a0 Mon Sep 17 00:00:00 2001 From: David Terei Date: Wed, 12 Nov 2014 18:12:18 -0800 Subject: Tighten Safe Haskell bounds, fixes new warning in GHC 7.10. Closes #27 --- System/Posix/Temp/ByteString.hsc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'System/Posix/Temp') diff --git a/System/Posix/Temp/ByteString.hsc b/System/Posix/Temp/ByteString.hsc index 7323012..61bd7e9 100644 --- a/System/Posix/Temp/ByteString.hsc +++ b/System/Posix/Temp/ByteString.hsc @@ -1,4 +1,6 @@ -#ifdef __GLASGOW_HASKELL__ +#if __GLASGOW_HASKELL__ >= 709 +{-# LANGUAGE Safe #-} +#elif __GLASGOW_HASKELL__ >= 703 {-# LANGUAGE Trustworthy #-} #endif ----------------------------------------------------------------------------- -- cgit v1.2.3