fix build w/o MagicMime more
This commit is contained in:
parent
740c9f7da8
commit
96dfba7b53
1 changed files with 2 additions and 1 deletions
|
@ -139,7 +139,8 @@ mkLargeFilesParser = do
|
|||
#ifdef WITH_MAGICMIME
|
||||
let mimer n f = ValueToken n (usev $ f magicmime)
|
||||
#else
|
||||
let mimer n = ValueToken n (const $ Left "\""++n++"\" not supported; not built with MagicMime support")
|
||||
let mimer n = ValueToken n $
|
||||
const $ Left $ "\""++n++"\" not supported; not built with MagicMime support"
|
||||
#endif
|
||||
let parse = parseToken $ commonTokens ++
|
||||
#ifdef WITH_MAGICMIME
|
||||
|
|
Loading…
Reference in a new issue