diff --git a/libavformat/udp.c b/libavformat/udp.c
index 8699c1c..3835f98 100644
|
a
|
b
|
|
| 42 | 42 | #include "os_support.h" |
| 43 | 43 | #include "url.h" |
| 44 | 44 | |
| | 45 | #ifdef __APPLE__ |
| | 46 | #include "TargetConditionals.h" |
| | 47 | #endif |
| | 48 | |
| 45 | 49 | #if HAVE_UDPLITE_H |
| 46 | 50 | #include "udplite.h" |
| 47 | 51 | #else |
| … |
… |
static int udp_set_multicast_sources(URLContext *h,
|
| 278 | 282 | int addr_len, char **sources, |
| 279 | 283 | int nb_sources, int include) |
| 280 | 284 | { |
| 281 | | #if HAVE_STRUCT_GROUP_SOURCE_REQ && defined(MCAST_BLOCK_SOURCE) && !defined(_WIN32) |
| | 285 | #if HAVE_STRUCT_GROUP_SOURCE_REQ && defined(MCAST_BLOCK_SOURCE) && !defined(_WIN32) && (!defined(TARGET_OS_TV) || !TARGET_OS_TV) |
| 282 | 286 | /* These ones are available in the microsoft SDK, but don't seem to work |
| 283 | 287 | * as on linux, so just prefer the v4-only approach there for now. */ |
| 284 | 288 | int i; |