diff options
author | Kenneth Heafield <github@kheafield.com> | 2012-10-30 23:33:22 +0400 |
---|---|---|
committer | Kenneth Heafield <github@kheafield.com> | 2012-10-30 23:33:22 +0400 |
commit | 4b98b0937cfcf8932b8cad2822dc01f9562353fd (patch) | |
tree | 6afb9273399ef2cdbe6a93e17a54036cb5426826 /util/file_piece_test.cc | |
parent | 06126ae6e259fc619073f09a9d1de9d0b8f109fd (diff) |
Add bzip and xz input for FilePiece KenLM 06f78db2
Diffstat (limited to 'util/file_piece_test.cc')
-rw-r--r-- | util/file_piece_test.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/file_piece_test.cc b/util/file_piece_test.cc index f912e18af..e79ece7ab 100644 --- a/util/file_piece_test.cc +++ b/util/file_piece_test.cc @@ -38,7 +38,7 @@ BOOST_AUTO_TEST_CASE(MMapReadLine) { BOOST_CHECK_THROW(test.get(), EndOfFileException); } -#ifndef __APPLE__ +#if !defined(_WIN32) && !defined(_WIN64) && !defined(__APPLE__) /* Apple isn't happy with the popen, fileno, dup. And I don't want to * reimplement popen. This is an issue with the test. */ @@ -65,7 +65,7 @@ BOOST_AUTO_TEST_CASE(StreamReadLine) { BOOST_CHECK_THROW(test.get(), EndOfFileException); BOOST_REQUIRE(!pclose(catter)); } -#endif // __APPLE__ +#endif #ifdef HAVE_ZLIB |