From: Eric Biggers Date: Fri, 5 Aug 2022 05:03:21 +0000 (-0700) Subject: wof.h: guard by __WIN32__ X-Git-Tag: v1.13.6~6 X-Git-Url: https://wimlib.net/git/?a=commitdiff_plain;h=1d43d10667d5a710952eab14bae5b6a6c7f72ca8;p=wimlib wof.h: guard by __WIN32__ This is needed for the wlfuzz program to compile on non-Windows. --- diff --git a/include/wimlib/wof.h b/include/wimlib/wof.h index 4cab2bba..56283d28 100644 --- a/include/wimlib/wof.h +++ b/include/wimlib/wof.h @@ -34,6 +34,8 @@ #include "wimlib/compiler.h" #include "wimlib/types.h" +#ifdef __WIN32__ + /* * The Windows Overlay Filesystem filter (WOF, a.k.a. wof.sys) is a filesystem * filter driver, available in Windows 8.1 and later, which allows files to be @@ -423,4 +425,6 @@ wof_check_structs(void) STATIC_ASSERT(sizeof(struct WimOverlay_dat_entry_2) == 104); } +#endif /* __WIN32__ */ + #endif /* _WOF_H_ */