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/ziplocalheader.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/fs/virtfs/ziplocalheader.h') diff --git a/src/fs/virtfs/ziplocalheader.h b/src/fs/virtfs/ziplocalheader.h index f3a1894ce..2ec781858 100644 --- a/src/fs/virtfs/ziplocalheader.h +++ b/src/fs/virtfs/ziplocalheader.h @@ -20,6 +20,7 @@ #ifndef UTILS_ZIPLOCALHEADER_H #define UTILS_ZIPLOCALHEADER_H +#ifndef USE_PHYSFS #include "localconsts.h" @@ -41,4 +42,5 @@ struct ZipLocalHeader final bool compressed; }; +#endif // USE_PHYSFS #endif // UTILS_ZIPLOCALHEADER_H -- cgit v1.2.3-70-g09d2