@@ -82,12 +82,16 @@ Test-Suite spec
83 , QuickCheck
83 , QuickCheck
84 , hspec == 1.3.*
84 , hspec == 1.3.*
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.
85− if os(linux) || os(freebsd) || os(darwin)
89+ --if os(linux) || os(freebsd) || os(darwin)
86− Cpp-Options: -DSENDFILEFD
90+ Cpp-Options: -DSENDFILEFD
87− Build-Depends: unix
91+ Build-Depends: unix
88 , hashable
92 , hashable
89− if os(windows)
93+ --if os(windows)
90− Cpp-Options: -DWINDOWS
94+ -- Cpp-Options: -DWINDOWS
92Source-Repository head
96Source-Repository head