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/virtfileprivate.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/fs/physfs/virtfileprivate.h') diff --git a/src/fs/physfs/virtfileprivate.h b/src/fs/physfs/virtfileprivate.h index 75ad6a337..1067cfda0 100644 --- a/src/fs/physfs/virtfileprivate.h +++ b/src/fs/physfs/virtfileprivate.h @@ -20,6 +20,7 @@ #ifndef UTILS_VIRTFILEPRIVATE_H #define UTILS_VIRTFILEPRIVATE_H +#ifdef USE_PHYSFS #include "localconsts.h" @@ -40,4 +41,5 @@ struct VirtFilePrivate final PHYSFS_file *mFile; }; +#endif // USE_PHYSFS #endif // UTILS_VIRTFILEPRIVATE_H -- cgit v1.2.3-70-g09d2