Pass in -DWINDOWS on Windows #546

This commit is contained in:
Michael Snoyman 2013-05-02 23:24:20 -07:00
parent 1bcc05aee7
commit 26d3458745

View File

@ -1,5 +1,5 @@
name: yesod
version: 1.2.0
version: 1.2.0.1
license: MIT
license-file: LICENSE
author: Michael Snoyman <michael@snoyman.com>
@ -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