Skip to content

Commit

Permalink
Add some compatibility defines to dnssd.c.
Browse files Browse the repository at this point in the history
Original patch by S. Davilla from XBMC.
  • Loading branch information
juhovh committed Mar 25, 2014
1 parent 1e8b64f commit 53aa685
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions src/lib/dnssd.c
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit 53aa685

Please sign in to comment.