diff options
author | Joey Hess <joey@kitenet.net> | 2013-04-15 13:32:55 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-04-15 13:32:55 -0400 |
commit | aec93a9847caf7409152bf78664b591ab7608bc5 (patch) | |
tree | 938cf42bccd6d7c472abbc49bc4137e10ee103f5 /Utility | |
parent | 1c7360c01fa602541856b90ef6c308a9d4e2d3b0 (diff) |
avoid TH stuff on Android
Diffstat (limited to 'Utility')
-rw-r--r-- | Utility/Yesod.hs | 2 |
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 |