aboutsummaryrefslogtreecommitdiff
path: root/haddock-library/src/CompatPrelude.hs
diff options
context:
space:
mode:
Diffstat (limited to 'haddock-library/src/CompatPrelude.hs')
-rw-r--r--haddock-library/src/CompatPrelude.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/haddock-library/src/CompatPrelude.hs b/haddock-library/src/CompatPrelude.hs
index 60fa94d9..71a99559 100644
--- a/haddock-library/src/CompatPrelude.hs
+++ b/haddock-library/src/CompatPrelude.hs
@@ -1,6 +1,7 @@
{-# LANGUAGE CPP #-}
-#if !MIN_VERSION_base(4,5,0)
+#ifdef __HLINT__
+#elif !MIN_VERSION_base(4,5,0)
# error This module doesn't provide compat-shims for versions prior to base-4.5
#endif