[vlc-commits] [Git][videolan/vlc][master] network: remove local IPV6 defines

Rémi Denis-Courmont (@Courmisch) gitlab at videolan.org
Sat Jan 6 19:13:22 UTC 2024



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


More information about the vlc-commits mailing list