X-Git-Url: https://wimlib.net/git/?a=blobdiff_plain;f=include%2Fwimlib%2Fwof.h;h=ac07be512499badd2f271d4421049f75c368f48d;hb=98a8f6bb9e7b3b62d87cb4b36501818b1a14df5e;hp=71d97d80674a716c1b4694ea31a11ace199122f5;hpb=8b709192cd2811b83c248fbe61ca4f11ee9de797;p=wimlib diff --git a/include/wimlib/wof.h b/include/wimlib/wof.h index 71d97d80..ac07be51 100644 --- a/include/wimlib/wof.h +++ b/include/wimlib/wof.h @@ -291,12 +291,12 @@ struct WimOverlay_dat_entry_2 { } _packed_attribute; } _packed_attribute; -static inline void +static _unused_attribute void wof_check_structs(void) { - BUILD_BUG_ON(sizeof(struct WimOverlay_dat_header) != 24); - BUILD_BUG_ON(sizeof(struct WimOverlay_dat_entry_1) != 40); - BUILD_BUG_ON(sizeof(struct WimOverlay_dat_entry_2) != 104); + STATIC_ASSERT(sizeof(struct WimOverlay_dat_header) == 24); + STATIC_ASSERT(sizeof(struct WimOverlay_dat_entry_1) == 40); + STATIC_ASSERT(sizeof(struct WimOverlay_dat_entry_2) == 104); } /***************************************************************************** @@ -364,6 +364,8 @@ struct file_provider_external_info { */ #define FSCTL_GET_EXTERNAL_BACKING 0x90310 +#define STATUS_OBJECT_NOT_EXTERNALLY_BACKED 0xC000046D + /***************************************************************************** * * --- FSCTL_DELETE_EXTERNAL_BACKING ---