mirror of
https://github.com/typeable/wai.git
synced 2024-12-27 08:05:37 +03:00
Fix compilation failure on Windows #321
This commit is contained in:
parent
373114508e
commit
e947f4c6b0
@ -1,3 +1,7 @@
|
||||
## 3.0.4.1
|
||||
|
||||
Fix compilation failure on Windows [#321](https://github.com/yesodweb/wai/issues/321)
|
||||
|
||||
## 3.0.4
|
||||
|
||||
Add the `StreamFile` middleware.
|
||||
|
@ -10,7 +10,7 @@ import Network.Wai (responseStream)
|
||||
import Network.Wai.Internal
|
||||
import Network.Wai (Middleware, responseToStream)
|
||||
import qualified Data.ByteString.Char8 as S8
|
||||
import System.Posix
|
||||
import System.PosixCompat (getFileStatus, fileSize, FileOffset)
|
||||
|
||||
-- |Convert ResponseFile type responses into ResponseStream type
|
||||
--
|
||||
|
@ -1,5 +1,5 @@
|
||||
Name: wai-extra
|
||||
Version: 3.0.4
|
||||
Version: 3.0.4.1
|
||||
Synopsis: Provides some basic WAI handlers and middleware.
|
||||
description: API docs and the README are available at <http://www.stackage.org/package/wai-extra>.
|
||||
License: MIT
|
||||
@ -45,6 +45,7 @@ Library
|
||||
, lifted-base >= 0.1.2
|
||||
, deepseq
|
||||
, streaming-commons
|
||||
, unix-compat
|
||||
|
||||
if os(windows)
|
||||
cpp-options: -DWINDOWS
|
||||
|
Loading…
Reference in New Issue
Block a user