diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-06 18:08:27 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-06 18:08:27 +0300 |
commit | c7b2d6baf29cd2a248e2d8dc09f7916643845f97 (patch) | |
tree | 16ac981c403eb48baccaca10290b7d7bc1d03eab /src/fs/virtfs/virtfsdir.h | |
parent | b1241b3e98f72b50f38dad602da3d3f4b4edc7bf (diff) | |
download | manaverse-c7b2d6baf29cd2a248e2d8dc09f7916643845f97.tar.gz manaverse-c7b2d6baf29cd2a248e2d8dc09f7916643845f97.tar.bz2 manaverse-c7b2d6baf29cd2a248e2d8dc09f7916643845f97.tar.xz manaverse-c7b2d6baf29cd2a248e2d8dc09f7916643845f97.zip |
Add support for standard library file api in virtfs.s20170306
Because posix file api broken in mingw.
Diffstat (limited to 'src/fs/virtfs/virtfsdir.h')
-rw-r--r-- | src/fs/virtfs/virtfsdir.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/fs/virtfs/virtfsdir.h b/src/fs/virtfs/virtfsdir.h index 826d4dde4..e689fcd95 100644 --- a/src/fs/virtfs/virtfsdir.h +++ b/src/fs/virtfs/virtfsdir.h @@ -25,6 +25,8 @@ #include "enums/simpletypes/append.h" #include "enums/simpletypes/skiperror.h" +#include "fs/virtfs/fileapi.h" + #include "utils/stringvector.h" #include "localconsts.h" @@ -38,7 +40,7 @@ namespace VirtFsDir { VirtFile *openInternal(VirtFsEntry *restrict const entry, const std::string &filename, - const int mode); + const FILEMTYPE mode); VirtFile *openRead(VirtFsEntry *restrict const entry, const std::string &filename); VirtFile *openWrite(VirtFsEntry *restrict const entry, |