Fixed the Windows build

Opening ZIM archives by file descriptor (as well as embedded
ZIM archives) is not supported under Windows.
This commit is contained in:
Veloman Yunkan
2021-02-07 14:41:23 +04:00
committed by Emmanuel Engelhart
parent 5a8b825c70
commit 839fc10a4f
3 changed files with 16 additions and 0 deletions

View File

@ -56,8 +56,10 @@ class Reader
* (.zim extesion).
*/
explicit Reader(const string zimFilePath);
#ifndef _WIN32
explicit Reader(int fd);
Reader(int fd, zim::offset_type offset, zim::size_type size);
#endif
~Reader() = default;
/**