mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-06-26 10:11:30 +00:00
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:
committed by
Emmanuel Engelhart
parent
5a8b825c70
commit
839fc10a4f
@ -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;
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user