summaryrefslogtreecommitdiff
path: root/src/fs/physfs/virtfsphys.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/physfs/virtfsphys.cpp')
-rw-r--r--src/fs/physfs/virtfsphys.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fs/physfs/virtfsphys.cpp b/src/fs/physfs/virtfsphys.cpp
index 0d474b161..439ed2890 100644
--- a/src/fs/physfs/virtfsphys.cpp
+++ b/src/fs/physfs/virtfsphys.cpp
@@ -18,6 +18,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifdef USE_PHYSFS
+
#include "fs/physfs/virtfsphys.h"
#include "fs/virtfile.h"
@@ -349,3 +351,4 @@ namespace VirtFsPhys
return PHYSFS_eof(file->mPrivate->mFile);
}
} // namespace VirtFsPhys
+#endif // USE_PHYSFS