on master help sign in
Removed unnecessary CPP
commit7a8663bbffb091916ebff41ae20cff963a8d1911 authorMichael Snoyman <michael@snoyman.com> dateTue 17 Jan 2012, 09:14 (15 years ago) parent98e8a3d
1 file changed+2−6
warp/Network/Wai/Handler/Warp.hs+2−6
warp/Network/Wai/Handler/Warp.hs+2−6
@@ -120,15 +120,11 @@ import qualified Control.Concurrent.MVar as MV
120120import Network.Socket (withSocketsDo)
121121#endif
122122
123−
124−#ifndef MEGA
125123import Data.Version (showVersion)
126124import qualified Paths_warp
127−warpVersion = showVersion Paths_warp.version
128−#else
129−warpVersion = "0.4.6"
130−#endif
125+
131126warpVersion :: String
127+warpVersion = showVersion Paths_warp.version
132128
133129data Connection = Connection
134130 { connSendMany :: [B.ByteString] -> IO ()