summaryrefslogtreecommitdiff
path: root/src/fs/virtfs/virtfileprivate.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/virtfs/virtfileprivate.cpp')
-rw-r--r--src/fs/virtfs/virtfileprivate.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fs/virtfs/virtfileprivate.cpp b/src/fs/virtfs/virtfileprivate.cpp
index 06e0418bb..459a17ca9 100644
--- a/src/fs/virtfs/virtfileprivate.cpp
+++ b/src/fs/virtfs/virtfileprivate.cpp
@@ -18,6 +18,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef USE_PHYSFS
#include "fs/virtfs/virtfileprivate.h"
#include <unistd.h>
@@ -57,3 +58,4 @@ VirtFilePrivate::~VirtFilePrivate()
if (mBuf)
delete [] mBuf;
}
+#endif // USE_PHYSFS