@@ -82,12 +82,16 @@ Test-Suite spec
8282 , HUnit
8383 , QuickCheck
8484 , hspec == 1.3.*
85− if os(linux) || os(freebsd) || os(darwin)
86− Cpp-Options: -DSENDFILEFD
87− Build-Depends: unix
85+
86+ -- Yes, this means that the test suite will no longer work on Windows.
87+ -- Unfortunately there is a bug in older versions of cabal, and this conditional
88+ -- will therefore break older systems.
89+ --if os(linux) || os(freebsd) || os(darwin)
90+ Cpp-Options: -DSENDFILEFD
91+ Build-Depends: unix
8892 , hashable
89− if os(windows)
90− Cpp-Options: -DWINDOWS
93+ --if os(windows)
94+ -- Cpp-Options: -DWINDOWS
9195
9296Source-Repository head
9397 Type: git