diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-02-28 22:49:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-02-28 22:49:10 +0300 |
commit | db31c2f832dd4067e4670dd469fe3b696188576b (patch) | |
tree | 7ed857adddd833cfd5087ee6c22e408637301c5c /src/fs/virtfstools.h | |
parent | 6583c1a039a28a41a865b02598e6da9521046325 (diff) | |
download | plus-db31c2f832dd4067e4670dd469fe3b696188576b.tar.gz plus-db31c2f832dd4067e4670dd469fe3b696188576b.tar.bz2 plus-db31c2f832dd4067e4670dd469fe3b696188576b.tar.xz plus-db31c2f832dd4067e4670dd469fe3b696188576b.zip |
Add configure flag for use physfs.
New configure option: --without-physfs
For now manaplus cant be compiled without physfs.
Diffstat (limited to 'src/fs/virtfstools.h')
-rw-r--r-- | src/fs/virtfstools.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/fs/virtfstools.h b/src/fs/virtfstools.h index 3271fee6f..383327404 100644 --- a/src/fs/virtfstools.h +++ b/src/fs/virtfstools.h @@ -51,18 +51,20 @@ namespace VirtFs std::string loadTextFileString(const std::string &fileName); } // namespace VirtFs +#ifdef USE_PHYSFS // +++ temporary add it here -namespace VirtFsDir +namespace VirtFsPhys { void getFiles(const std::string &path, StringVect &list); } // namespace VirtFs - +#else // USE_PHYSFS // +++ temporary add it here -namespace VirtFsPhys +namespace VirtFsDir { void getFiles(const std::string &path, StringVect &list); } // namespace VirtFs +#endif // USE_PHYSFS #endif // UTILS_VIRTFSTOOLS_H |