aboutsummaryrefslogtreecommitdiff
path: root/Utility/Yesod.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-06-27 15:25:28 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-06-27 15:25:28 -0400
commit255b12bf49bdc7500da534c43031bb39b5f75d57 (patch)
tree79b4b393dd78e9ecc219f97c6a9f87a1cb006610 /Utility/Yesod.hs
parentb7af451e885dcb7458c10259caee74ac4574d824 (diff)
fix a build failure on android
Diffstat (limited to 'Utility/Yesod.hs')
-rw-r--r--Utility/Yesod.hs6
1 files changed, 5 insertions, 1 deletions
diff --git a/Utility/Yesod.hs b/Utility/Yesod.hs
index 68d80d579..00424d191 100644
--- a/Utility/Yesod.hs
+++ b/Utility/Yesod.hs
@@ -12,9 +12,11 @@
module Utility.Yesod
( module Y
+ , liftH
+#ifndef __ANDROID__
, widgetFile
, hamletTemplate
- , liftH
+#endif
#if ! MIN_VERSION_yesod(1,2,0)
, giveUrlRenderer
, Html
@@ -33,7 +35,9 @@ import Language.Haskell.TH.Syntax (Q, Exp)
import Data.Default (def)
import Text.Hamlet hiding (Html)
#endif
+#endif
+#ifndef __ANDROID__
widgetFile :: String -> Q Exp
#if ! MIN_VERSION_yesod_default(1,1,0)
widgetFile = widgetFileNoReload