Skip to content
Snippets Groups Projects
Commit 3b8438ca authored by Johannes Kauffmann's avatar Johannes Kauffmann Committed by Rémi Denis-Courmont
Browse files

network: remove local IPV6 defines

These defines are available since MinGW-W64 v2.0.
parent ed436a34
No related branches found
No related tags found
1 merge request!4738network: remove local IPV6 defines
Pipeline #424047 passed with stages
in 36 minutes and 17 seconds
......@@ -90,11 +90,6 @@ int net_Socket (vlc_object_t *p_this, int family, int socktype,
#endif
#if defined (_WIN32)
# ifndef IPV6_PROTECTION_LEVEL
# warning Please update your C library headers.
# define IPV6_PROTECTION_LEVEL 23
# define PROTECTION_LEVEL_UNRESTRICTED 10
# endif
if (family == AF_INET6)
setsockopt (fd, IPPROTO_IPV6, IPV6_PROTECTION_LEVEL,
&(int){ PROTECTION_LEVEL_UNRESTRICTED }, sizeof (int));
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment