Fix ghc-7.4

This commit is contained in:
Daniel Gröber
2015-02-07 23:05:04 +01:00
parent 36ed081d54
commit 471a3ec358
2 changed files with 12 additions and 0 deletions

View File

@@ -102,3 +102,12 @@ setComponentsConfigs
setComponentsConfigs lbi cs = lbi { componentsConfigs = cs }
#endif
#if __GLASGOW_HASKELL__ <= 704
componentBuildInfo :: Component -> BuildInfo
componentBuildInfo =
foldComponent libBuildInfo buildInfo testBuildInfo benchmarkBuildInfo
#endif