X-Git-Url: https://git.piment-noir.org/?p=deb_shairplay.git;a=blobdiff_plain;f=src%2Flib%2Fdnssd.c;h=4859e3239c7aa569109a7d27933d4c67508fbb29;hp=813796262f944d812c9dba887c6f284a0d919540;hb=53aa68520dec5dcdb1b2eed8bebeb84be4cd357b;hpb=bbb0ec366ab3089d79702e0b90c4afada29b7bc6 diff --git a/src/lib/dnssd.c b/src/lib/dnssd.c index 8137962..4859e32 100644 --- a/src/lib/dnssd.c +++ b/src/lib/dnssd.c @@ -12,6 +12,14 @@ * Lesser General Public License for more details. */ +/* These defines allow us to compile on iOS */ +#ifndef __has_feature +# define __has_feature(x) 0 +#endif +#ifndef __has_extension +# define __has_extension __has_feature +#endif + #include #include #include