From 26d3458745e3edd7d924ecaad057b20568dce10c Mon Sep 17 00:00:00 2001 From: Michael Snoyman Date: Thu, 2 May 2013 23:24:20 -0700 Subject: [PATCH] Pass in -DWINDOWS on Windows #546 --- yesod/yesod.cabal | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/yesod/yesod.cabal b/yesod/yesod.cabal index 9954a3d5..498fd4b2 100644 --- a/yesod/yesod.cabal +++ b/yesod/yesod.cabal @@ -1,5 +1,5 @@ name: yesod -version: 1.2.0 +version: 1.2.0.1 license: MIT license-file: LICENSE author: Michael Snoyman @@ -18,6 +18,9 @@ build-type: Simple homepage: http://www.yesodweb.com/ library + if os(windows) + cpp-options: -DWINDOWS + build-depends: base >= 4.3 && < 5 , yesod-core >= 1.2 && < 1.3 , yesod-auth >= 1.2 && < 1.3