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.cpp | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/fs/physfs/virtfsphys.cpp') 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 . */ +#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 -- cgit v1.2.3-70-g09d2