diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-02 00:36:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-02 00:36:59 +0300 |
commit | 38846eb9dda3b1656a0b36acb2945edf7b314fa0 (patch) | |
tree | aaf3030d5448468680e053337fd8e5070b4130cc /src/fs/physfs/virtfileprivate.h | |
parent | 32061bfe63fce77accf1657a6631700c859fa541 (diff) | |
download | manaplus-38846eb9dda3b1656a0b36acb2945edf7b314fa0.tar.gz manaplus-38846eb9dda3b1656a0b36acb2945edf7b314fa0.tar.bz2 manaplus-38846eb9dda3b1656a0b36acb2945edf7b314fa0.tar.xz manaplus-38846eb9dda3b1656a0b36acb2945edf7b314fa0.zip |
Add ifdefs for prevent compilation by any scripts virtfs/physfs files if should be disabled.
Diffstat (limited to 'src/fs/physfs/virtfileprivate.h')
-rw-r--r-- | src/fs/physfs/virtfileprivate.h | 2 |
1 files changed, 2 insertions, 0 deletions
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 |