on master help sign in
Removed unnecessary CPP
7a8663bMichael Snoyman
warp/Network/Wai/Handler/Warp.hs+2−6
@@ -120,15 +120,11 @@ import qualified Control.Concurrent.MVar as MV
120import Network.Socket (withSocketsDo)
120import Network.Socket (withSocketsDo)
121#endif
121#endif
122
122
123−
124−#ifndef MEGA
125import Data.Version (showVersion)
123import Data.Version (showVersion)
126import qualified Paths_warp
124import qualified Paths_warp
127−warpVersion = showVersion Paths_warp.version
125+
128−#else
129−warpVersion = "0.4.6"
130−#endif
131warpVersion :: String
126warpVersion :: String
127+warpVersion = showVersion Paths_warp.version
132
128
133data Connection = Connection
129data Connection = Connection
134 { connSendMany :: [B.ByteString] -> IO ()
130 { connSendMany :: [B.ByteString] -> IO ()