diff --git a/crates/libs/windows/src/extensions/Win32/System/StructuredStorage.rs b/crates/libs/windows/src/extensions/Win32/System/StructuredStorage.rs index 9c6c3711a6..859384e6c5 100644 --- a/crates/libs/windows/src/extensions/Win32/System/StructuredStorage.rs +++ b/crates/libs/windows/src/extensions/Win32/System/StructuredStorage.rs @@ -78,6 +78,7 @@ impl PartialEq for PROPVARIANT { impl Eq for PROPVARIANT {} +#[cfg(all(feature = "Win32_System_Variant", feature = "Win32_System_Com", feature = "Win32_System_Ole"))] impl TryFrom<&VARIANT> for PROPVARIANT { type Error = Error; fn try_from(from: &VARIANT) -> Result {