From 38846eb9dda3b1656a0b36acb2945edf7b314fa0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 2 Mar 2017 00:36:59 +0300 Subject: Add ifdefs for prevent compilation by any scripts virtfs/physfs files if should be disabled. --- src/fs/physfs/virtfsphys_unittest.cc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/fs/physfs/virtfsphys_unittest.cc') diff --git a/src/fs/physfs/virtfsphys_unittest.cc b/src/fs/physfs/virtfsphys_unittest.cc index 8e81cfe2b..7eeb01143 100644 --- a/src/fs/physfs/virtfsphys_unittest.cc +++ b/src/fs/physfs/virtfsphys_unittest.cc @@ -18,6 +18,7 @@ * along with this program. If not, see . */ +#ifdef USE_PHYSFS #include "catch.hpp" #include "fs/paths.h" @@ -537,3 +538,4 @@ TEST_CASE("VirtFsPhys read") VirtFsPhys::removeDirFromSearchPath("../data"); delete2(logger); } +#endif // USE_PHYSFS -- cgit v1.2.3-70-g09d2