[vlc-devel] [PATCH] vlc_getaddrinfo: remove unused define

Steve Lhomme robux4 at videolabs.io
Fri Apr 29 09:38:43 CEST 2016


---
 src/network/getaddrinfo.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/src/network/getaddrinfo.c b/src/network/getaddrinfo.c
index 16dd68e..5f5d0ef 100644
--- a/src/network/getaddrinfo.c
+++ b/src/network/getaddrinfo.c
@@ -37,10 +37,6 @@
 #include <sys/types.h>
 #include <vlc_network.h>
 
-#ifndef AF_UNSPEC
-#   define AF_UNSPEC   0
-#endif
-
 int vlc_getnameinfo( const struct sockaddr *sa, int salen,
                      char *host, int hostlen, int *portnum, int flags )
 {
-- 
2.7.0



More information about the vlc-devel mailing list