@@ -854,7 +854,6 @@ readDefaultDataFile fname =
854854#else
855855 getDataFileName fname' >>= checkExistence >>= BS.readFile
856856 where fname' = if fname == "README" then fname else "data" </> fname
857−#endif
858857
859858checkExistence :: FilePath -> IO FilePath
860859checkExistence fn = do
@@ -862,6 +861,7 @@ checkExistence fn = do
862861 if exists
863862 then return fn
864863 else err 97 ("Could not find data file " ++ fn)
864+#endif
865865
866866-- | Read file from specified user data directory or, if not found there, from
867867-- Cabal data directory.