repositories
/
deb_shairplay.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add some compatibility defines to dnssd.c.
[deb_shairplay.git]
/
src
/
lib
/
dnssd.c
diff --git
a/src/lib/dnssd.c
b/src/lib/dnssd.c
index ebdf1926b9bc6c287bba7d08472cd7b0ecf19621..4859e3239c7aa569109a7d27933d4c67508fbb29 100644
(file)
--- a/
src/lib/dnssd.c
+++ b/
src/lib/dnssd.c
@@
-12,12
+12,22
@@
* Lesser General Public License for more details.
*/
* 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>
#include <assert.h>
#include <stdlib.h>
#include <string.h>
#include <stdio.h>
#include <assert.h>
+#ifdef HAVE_CONFIG_H
#include "config.h"
#include "config.h"
+#endif
#include "dnssd.h"
#include "dnssdint.h"
#include "dnssd.h"
#include "dnssdint.h"