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/virtfs/virtdirentry.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/fs/virtfs/virtdirentry.h') diff --git a/src/fs/virtfs/virtdirentry.h b/src/fs/virtfs/virtdirentry.h index b3d3faff6..88ab89366 100644 --- a/src/fs/virtfs/virtdirentry.h +++ b/src/fs/virtfs/virtdirentry.h @@ -20,6 +20,7 @@ #ifndef UTILS_VIRTDIRENTRY_H #define UTILS_VIRTDIRENTRY_H +#ifndef USE_PHYSFS #include @@ -38,4 +39,5 @@ struct VirtDirEntry final std::string mRootDir; }; +#endif // USE_PHYSFS #endif // UTILS_VIRTDIRENTRY_H -- cgit v1.2.3-70-g09d2