fix a build failure on android

This commit is contained in:
Joey Hess 2013-06-27 15:25:28 -04:00
parent b947861206
commit 3a843b165d

View file

@ -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