summaryrefslogtreecommitdiff
path: root/Presence/ByteStringOperators.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Presence/ByteStringOperators.hs')
-rw-r--r--Presence/ByteStringOperators.hs6
1 files changed, 4 insertions, 2 deletions
diff --git a/Presence/ByteStringOperators.hs b/Presence/ByteStringOperators.hs
index 9e6cc938..4453aca0 100644
--- a/Presence/ByteStringOperators.hs
+++ b/Presence/ByteStringOperators.hs
@@ -1,3 +1,4 @@
1{-# LANGUAGE CPP #-}
1module ByteStringOperators where 2module ByteStringOperators where
2 3
3import qualified Data.ByteString as S (ByteString) 4import qualified Data.ByteString as S (ByteString)
@@ -41,8 +42,9 @@ bshow :: Show a => a -> ByteString
41bshow = L.pack . show 42bshow = L.pack . show
42 43
43 44
45#if MIN_VERSION_bytestring(0,10,0)
46#else
44instance NFData L.ByteString where 47instance NFData L.ByteString where
45 rnf L.Empty = () 48 rnf L.Empty = ()
46 rnf (L.Chunk _ b) = rnf b 49 rnf (L.Chunk _ b) = rnf b
47 50#endif
48