summaryrefslogtreecommitdiff
path: root/src/fs/virtfs/virtfsdir.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-03-02 00:36:59 +0300
committerAndrei Karas <akaras@inbox.ru>2017-03-02 00:36:59 +0300
commit38846eb9dda3b1656a0b36acb2945edf7b314fa0 (patch)
treeaaf3030d5448468680e053337fd8e5070b4130cc /src/fs/virtfs/virtfsdir.h
parent32061bfe63fce77accf1657a6631700c859fa541 (diff)
downloadmv-38846eb9dda3b1656a0b36acb2945edf7b314fa0.tar.gz
mv-38846eb9dda3b1656a0b36acb2945edf7b314fa0.tar.bz2
mv-38846eb9dda3b1656a0b36acb2945edf7b314fa0.tar.xz
mv-38846eb9dda3b1656a0b36acb2945edf7b314fa0.zip
Add ifdefs for prevent compilation by any scripts virtfs/physfs files if should be disabled.
Diffstat (limited to 'src/fs/virtfs/virtfsdir.h')
-rw-r--r--src/fs/virtfs/virtfsdir.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/fs/virtfs/virtfsdir.h b/src/fs/virtfs/virtfsdir.h
index 75df7fb18..6ae3ec9f1 100644
--- a/src/fs/virtfs/virtfsdir.h
+++ b/src/fs/virtfs/virtfsdir.h
@@ -20,6 +20,7 @@
#ifndef UTILS_VIRTFSDIR_H
#define UTILS_VIRTFSDIR_H
+#ifndef USE_PHYSFS
#include "enums/simpletypes/append.h"
#include "enums/simpletypes/skiperror.h"
@@ -86,4 +87,5 @@ namespace VirtFsDir
int eof(VirtFile *restrict const file);
} // namespace VirtFsDir
+#endif // USE_PHYSFS
#endif // UTILS_VIRTFSDIR_H