From add9bb5885c42bf05435bc480ceda9816f8b530b Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Mon, 16 Sep 2024 09:52:37 -0500 Subject: [PATCH] cfg --- .../windows/src/extensions/Win32/System/StructuredStorage.rs | 1 + 1 file changed, 1 insertion(+) 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 {