From 57ad3aca8ef5dbbfea2d512e9d1ae77f1fb24e37 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 3 Mar 2015 18:10:02 +0100 Subject: input/file: use class FileReader --- src/fs/io/FileReader.hxx | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/fs/io') diff --git a/src/fs/io/FileReader.hxx b/src/fs/io/FileReader.hxx index c67bd6d77..642fc5ed1 100644 --- a/src/fs/io/FileReader.hxx +++ b/src/fs/io/FileReader.hxx @@ -78,6 +78,12 @@ public: #endif } +#ifndef WIN32 + FileDescriptor GetFD() const { + return fd; + } +#endif + void Close(); bool GetFileInfo(FileInfo &info, Error &error) const; -- cgit v1.2.3