From 21fccc9ca9b71509fd9f2a3d7811d7bd98f4ddc0 Mon Sep 17 00:00:00 2001 From: Julian Ospald Date: Sun, 29 May 2016 18:57:55 +0200 Subject: [PATCH] Fix build with ghc < 7.10 --- src/HPath.hs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/HPath.hs b/src/HPath.hs index 7b6b0d2..0b3b31f 100644 --- a/src/HPath.hs +++ b/src/HPath.hs @@ -95,7 +95,9 @@ instance RelC Fn -------------------------------------------------------------------------------- -- PatternSynonyms +#if __GLASGOW_HASKELL__ >= 710 pattern Path :: ByteString -> Path a +#endif pattern Path x <- (MkPath x) --------------------------------------------------------------------------------