fix a build failure on android
This commit is contained in:
parent
b947861206
commit
3a843b165d
1 changed files with 5 additions and 1 deletions
|
@ -12,9 +12,11 @@
|
||||||
|
|
||||||
module Utility.Yesod
|
module Utility.Yesod
|
||||||
( module Y
|
( module Y
|
||||||
|
, liftH
|
||||||
|
#ifndef __ANDROID__
|
||||||
, widgetFile
|
, widgetFile
|
||||||
, hamletTemplate
|
, hamletTemplate
|
||||||
, liftH
|
#endif
|
||||||
#if ! MIN_VERSION_yesod(1,2,0)
|
#if ! MIN_VERSION_yesod(1,2,0)
|
||||||
, giveUrlRenderer
|
, giveUrlRenderer
|
||||||
, Html
|
, Html
|
||||||
|
@ -33,7 +35,9 @@ import Language.Haskell.TH.Syntax (Q, Exp)
|
||||||
import Data.Default (def)
|
import Data.Default (def)
|
||||||
import Text.Hamlet hiding (Html)
|
import Text.Hamlet hiding (Html)
|
||||||
#endif
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef __ANDROID__
|
||||||
widgetFile :: String -> Q Exp
|
widgetFile :: String -> Q Exp
|
||||||
#if ! MIN_VERSION_yesod_default(1,1,0)
|
#if ! MIN_VERSION_yesod_default(1,1,0)
|
||||||
widgetFile = widgetFileNoReload
|
widgetFile = widgetFileNoReload
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue