Rémi Denis-Courmont pushed to branch master at VideoLAN / VLC


Commits:
3b8438ca by Johannes Kauffmann at 2024-01-06T17:43:44+00:00
network: remove local IPV6 defines

These defines are available since MinGW-W64 v2.0.

- - - - -


1 changed file:

- src/network/io.c


Changes:

=====================================
src/network/io.c
=====================================
@@ -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));



View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/3b8438caad22651d62ca337e67a3f68bce4611f8

-- 
View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/3b8438caad22651d62ca337e67a3f68bce4611f8
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance
_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to