summaryrefslogtreecommitdiff
path: root/src/fs/virtfs/virtfs.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-02 00:36:59 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-02 00:36:59 +0300
commit38846eb9dda3b1656a0b36acb2945edf7b314fa0 (patch)
treeaaf3030d5448468680e053337fd8e5070b4130cc /src/fs/virtfs/virtfs.cpp
parent32061bfe63fce77accf1657a6631700c859fa541 (diff)
downloadplus-38846eb9dda3b1656a0b36acb2945edf7b314fa0.tar.gz
plus-38846eb9dda3b1656a0b36acb2945edf7b314fa0.tar.bz2
plus-38846eb9dda3b1656a0b36acb2945edf7b314fa0.tar.xz
plus-38846eb9dda3b1656a0b36acb2945edf7b314fa0.zip
Add ifdefs for prevent compilation by any scripts virtfs/physfs files if should be disabled.
Diffstat (limited to 'src/fs/virtfs/virtfs.cpp')
-rw-r--r--src/fs/virtfs/virtfs.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fs/virtfs/virtfs.cpp b/src/fs/virtfs/virtfs.cpp
index f9fcdcf8b..efa50922a 100644
--- a/src/fs/virtfs/virtfs.cpp
+++ b/src/fs/virtfs/virtfs.cpp
@@ -18,6 +18,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef USE_PHYSFS
+
#include "fs/virtfs.h"
#include "fs/paths.h"
@@ -273,3 +275,4 @@ namespace VirtFs
return file->funcs->eof(file);
}
} // namespace VirtFs
+#endif // USE_PHYSFS