summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Utility/Yesod.hs2
1 files changed, 2 insertions, 0 deletions
diff --git a/Utility/Yesod.hs b/Utility/Yesod.hs
index 2861f279d..f7f57a14c 100644
--- a/Utility/Yesod.hs
+++ b/Utility/Yesod.hs
@@ -16,6 +16,7 @@ import Data.Default (def)
import Text.Hamlet
#endif
+#ifndef __ANDROID__
widgetFile :: String -> Q Exp
#if ! MIN_VERSION_yesod_default(1,1,0)
widgetFile = widgetFileNoReload
@@ -26,6 +27,7 @@ widgetFile = widgetFileNoReload $ def
}
}
#endif
+#endif
hamletTemplate :: FilePath -> FilePath
hamletTemplate f = globFile "hamlet" f