Skip to content

Commit

Permalink
Fixes WIN32 compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Cédric Tabin committed Apr 30, 2023
1 parent a576d82 commit 11af416
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions tests/tests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,9 @@ void test19() {
file.open("empty", std::ios_base::out | std::ios_base::binary);
int ret = z2.readEntry(entry2, file);
assert(ret == LIBZIPPP_OK);
#ifndef _WIN32
assert(file.tellp() == 0);
#endif
file.close();
remove("empty");

Expand Down

0 comments on commit 11af416

Please sign in to comment.