aboutsummaryrefslogtreecommitdiffhomepage
path: root/System/Posix/Semaphore.hsc
diff options
context:
space:
mode:
authorGravatar David Terei <davidterei@gmail.com>2011-08-03 17:06:28 -0700
committerGravatar David Terei <davidterei@gmail.com>2011-08-03 17:06:28 -0700
commit3cfbe277710c192911c06b28277f316b0f9c3043 (patch)
treefb68bad381a388218aadb9751ac39d53c01aa1f0 /System/Posix/Semaphore.hsc
parent97adc8f61ab4d3f63b49224da708f633ff4474c3 (diff)
Use Safe Haskell when GHC >= 7.2
Diffstat (limited to 'System/Posix/Semaphore.hsc')
-rw-r--r--System/Posix/Semaphore.hsc4
1 files changed, 3 insertions, 1 deletions
diff --git a/System/Posix/Semaphore.hsc b/System/Posix/Semaphore.hsc
index a9d59df..900f7da 100644
--- a/System/Posix/Semaphore.hsc
+++ b/System/Posix/Semaphore.hsc
@@ -1,5 +1,7 @@
+#if __GLASGOW_HASKELL__ >= 701
+{-# LANGUAGE Trustworthy #-}
+#endif
{-# LANGUAGE ForeignFunctionInterface #-}
-
-----------------------------------------------------------------------------
-- |
-- Module : System.Posix.Semaphore