summaryrefslogtreecommitdiff
path: root/src/fs/virtfs/virtfs.cpp
diff options
context:
space:
mode:
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