diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-02 00:36:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-02 00:36:59 +0300 |
commit | 38846eb9dda3b1656a0b36acb2945edf7b314fa0 (patch) | |
tree | aaf3030d5448468680e053337fd8e5070b4130cc /src/fs/virtfs/virtfszip.cpp | |
parent | 32061bfe63fce77accf1657a6631700c859fa541 (diff) | |
download | manaverse-38846eb9dda3b1656a0b36acb2945edf7b314fa0.tar.gz manaverse-38846eb9dda3b1656a0b36acb2945edf7b314fa0.tar.bz2 manaverse-38846eb9dda3b1656a0b36acb2945edf7b314fa0.tar.xz manaverse-38846eb9dda3b1656a0b36acb2945edf7b314fa0.zip |
Add ifdefs for prevent compilation by any scripts virtfs/physfs files if should be disabled.
Diffstat (limited to 'src/fs/virtfs/virtfszip.cpp')
-rw-r--r-- | src/fs/virtfs/virtfszip.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fs/virtfs/virtfszip.cpp b/src/fs/virtfs/virtfszip.cpp index 425883f6d..437a81466 100644 --- a/src/fs/virtfs/virtfszip.cpp +++ b/src/fs/virtfs/virtfszip.cpp @@ -18,6 +18,8 @@ * along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#ifndef USE_PHYSFS + #include "fs/virtfs/virtfszip.h" #include "fs/files.h" @@ -580,3 +582,4 @@ namespace VirtFsZip return file->mPrivate->mPos >= file->mPrivate->mSize; } } // namespace VirtFsZip +#endif // USE_PHYSFS |