From aec93a9847caf7409152bf78664b591ab7608bc5 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 15 Apr 2013 13:32:55 -0400 Subject: avoid TH stuff on Android --- Utility/Yesod.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Utility/Yesod.hs') 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 -- cgit v1.2.3