summaryrefslogtreecommitdiff
path: root/src/fs/virtfs/virtfsdir_unittest.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/fs/virtfs/virtfsdir_unittest.cc')
-rw-r--r--src/fs/virtfs/virtfsdir_unittest.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/fs/virtfs/virtfsdir_unittest.cc b/src/fs/virtfs/virtfsdir_unittest.cc
index 0a39dbdb4..c70d9cc52 100644
--- a/src/fs/virtfs/virtfsdir_unittest.cc
+++ b/src/fs/virtfs/virtfsdir_unittest.cc
@@ -18,6 +18,8 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef USE_PHYSFS
+
#include "catch.hpp"
#include "fs/virtfs/virtdirentry.h"
@@ -729,3 +731,4 @@ TEST_CASE("VirtFsDir read")
VirtFsDir::deinit();
delete2(logger);
}
+#endif // USE_PHYSFS