wai-handler-fastcgi 0.4.2 → 1.0.0
raw patch · 2 files changed
+11/−3 lines, 2 filesdep ~waidep ~wai-extra
Dependency ranges changed: wai, wai-extra
Files
Network/Wai/Handler/FastCGI.hsc view
@@ -1,5 +1,6 @@ {-# LANGUAGE ForeignFunctionInterface #-} {-# LANGUAGE EmptyDataDecls #-}+{-# LANGUAGE CPP #-} ----------------------------------------------------------------------------- -- | -- Module : Network.Wai.Handler.FastCGI@@ -24,7 +25,11 @@ import Data.Word (Word8) import Foreign ( Ptr, castPtr, nullPtr, peekArray0 , throwIfNeg_, mallocBytes, free )+#ifdef GHC_7_4+import Foreign.C (CInt(..), CString, CStringLen)+#else import Foreign.C (CInt, CString, CStringLen)+#endif import Control.Exception (finally) import Foreign.Storable ( Storable (..) )
wai-handler-fastcgi.cabal view
@@ -1,5 +1,5 @@ name: wai-handler-fastcgi-version: 0.4.2+version: 1.0.0 license: BSD3 license-file: LICENSE author: Michael Snoyman <michael@snoyman.com>@@ -15,10 +15,13 @@ library build-depends: base >= 4 && < 5- , wai >= 0.4 && < 0.5- , wai-extra >= 0.4 && < 0.5+ , wai >= 1.0 && < 1.1+ , wai-extra >= 1.0 && < 1.1 , bytestring >= 0.9.1.4 && < 0.10 exposed-modules: Network.Wai.Handler.FastCGI ghc-options: -Wall includes: fcgiapp.h extra-libraries: fcgi++ if impl(ghc >= 7.4)+ cpp-options: -DGHC_7_4