summaryrefslogtreecommitdiff
path: root/src/fs/physfs/virtfileprivate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/physfs/virtfileprivate.cpp')
-rw-r--r--src/fs/physfs/virtfileprivate.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fs/physfs/virtfileprivate.cpp b/src/fs/physfs/virtfileprivate.cpp
index 4fcc0968e..6e6cd7dd6 100644
--- a/src/fs/physfs/virtfileprivate.cpp
+++ b/src/fs/physfs/virtfileprivate.cpp
@@ -18,6 +18,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifdef USE_PHYSFS
#include "fs/physfs/virtfileprivate.h"
#include "debug.h"
@@ -32,3 +33,4 @@ VirtFilePrivate::~VirtFilePrivate()
if (mFile != nullptr)
PHYSFS_close(mFile);
}
+#endif // USE_PHYSFS