repositories
/
deb_shairplay.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1e8b64f
)
Add some compatibility defines to dnssd.c.
author
Juho Vähä-Herttua
<juhovh@iki.fi>
Tue, 25 Mar 2014 20:52:37 +0000
(22:52 +0200)
committer
Juho Vähä-Herttua
<juhovh@iki.fi>
Tue, 25 Mar 2014 20:52:37 +0000
(22:52 +0200)
Original patch by S. Davilla from XBMC.
src/lib/dnssd.c
patch
|
blob
|
blame
|
history
diff --git
a/src/lib/dnssd.c
b/src/lib/dnssd.c
index 813796262f944d812c9dba887c6f284a0d919540..4859e3239c7aa569109a7d27933d4c67508fbb29 100644
(file)
--- 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 <stdlib.h>
#include <string.h>
#include <stdio.h>