From: Juho Vähä-Herttua Date: Tue, 25 Mar 2014 20:52:37 +0000 (+0200) Subject: Add some compatibility defines to dnssd.c. X-Git-Tag: upstream/0.9.0~4^2~3 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=53aa68520dec5dcdb1b2eed8bebeb84be4cd357b;p=deb_shairplay.git Add some compatibility defines to dnssd.c. Original patch by S. Davilla from XBMC. --- 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