From 4081f7cd42356c646cf4a6fd7e8f7fb6972e5c56 Mon Sep 17 00:00:00 2001 From: ivmarkov Date: Fri, 30 Jun 2023 12:46:07 +0000 Subject: [PATCH] Fix #60 --- matter/src/mdns.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/matter/src/mdns.rs b/matter/src/mdns.rs index d07ba107..6387b7cc 100644 --- a/matter/src/mdns.rs +++ b/matter/src/mdns.rs @@ -55,16 +55,16 @@ where } } -#[cfg(all(feature = "std", feature = "astro-dnssd"))] +#[cfg(all(feature = "std", target_os = "macos"))] pub type DefaultMdns<'a> = astro::Mdns<'a>; -#[cfg(all(feature = "std", feature = "astro-dnssd"))] +#[cfg(all(feature = "std", target_os = "macos"))] pub type DefaultMdnsRunner<'a> = astro::MdnsRunner<'a>; -#[cfg(not(all(feature = "std", feature = "astro-dnssd")))] +#[cfg(not(all(feature = "std", target_os = "macos")))] pub type DefaultMdns<'a> = builtin::Mdns<'a>; -#[cfg(not(all(feature = "std", feature = "astro-dnssd")))] +#[cfg(not(all(feature = "std", target_os = "macos")))] pub type DefaultMdnsRunner<'a> = builtin::MdnsRunner<'a>; pub struct DummyMdns;