summaryrefslogtreecommitdiff
path: root/src/fs/physfs/virtfs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/physfs/virtfs.cpp')
-rw-r--r--src/fs/physfs/virtfs.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fs/physfs/virtfs.cpp b/src/fs/physfs/virtfs.cpp
index 7a1484081..d19d112a3 100644
--- a/src/fs/physfs/virtfs.cpp
+++ b/src/fs/physfs/virtfs.cpp
@@ -18,6 +18,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifdef USE_PHYSFS
+
#include "fs/virtfs.h"
#include "fs/physfs/virtfsphys.h"
@@ -205,3 +207,4 @@ namespace VirtFs
return file->funcs->eof(file);
}
} // namespace VirtFs
+#endif // USE_PHYSFS