Permalink
Browse files

Remove conditional in Warp test suite

  • Loading branch information...
1 parent bd5fbde commit 7bfb34be7b866e08fc44573a5d7f5bba17512a78 @snoyberg snoyberg committed Nov 1, 2012
Showing with 9 additions and 5 deletions.
  1. +9 −5 warp/warp.cabal
View
@@ -82,12 +82,16 @@ Test-Suite spec
, HUnit
, QuickCheck
, hspec == 1.3.*
- if os(linux) || os(freebsd) || os(darwin)
- Cpp-Options: -DSENDFILEFD
- Build-Depends: unix
+
+ -- Yes, this means that the test suite will no longer work on Windows.
+ -- Unfortunately there is a bug in older versions of cabal, and this conditional
+ -- will therefore break older systems.
+ --if os(linux) || os(freebsd) || os(darwin)
+ Cpp-Options: -DSENDFILEFD
+ Build-Depends: unix
, hashable
- if os(windows)
- Cpp-Options: -DWINDOWS
+ --if os(windows)
+ -- Cpp-Options: -DWINDOWS
Source-Repository head
Type: git

0 comments on commit 7bfb34b

Please sign in to comment.