From 1d43d10667d5a710952eab14bae5b6a6c7f72ca8 Mon Sep 17 00:00:00 2001 From: Eric Biggers Date: Thu, 4 Aug 2022 22:03:21 -0700 Subject: [PATCH] wof.h: guard by __WIN32__ This is needed for the wlfuzz program to compile on non-Windows. --- include/wimlib/wof.h | 4 ++++ 1 file changed, 4 insertions(+) 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_ */ -- 2.46.1