[vlc-commits] net: remove old redefines of getaddrinfo() macros
Rémi Denis-Courmont
git at videolan.org
Sun Feb 26 12:10:02 CET 2017
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sun Feb 26 11:56:37 2017 +0200| [898b9dd532a73344267d65f5edff52697a7dc29c] | committer: Rémi Denis-Courmont
net: remove old redefines of getaddrinfo() macros
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=898b9dd532a73344267d65f5edff52697a7dc29c
---
include/vlc_network.h | 45 +--------------------------------------------
1 file changed, 1 insertion(+), 44 deletions(-)
diff --git a/include/vlc_network.h b/include/vlc_network.h
index 875ae18..3d5185d 100644
--- a/include/vlc_network.h
+++ b/include/vlc_network.h
@@ -147,50 +147,7 @@ VLC_API int vlc_close(int);
/* Portable network names/addresses resolution layer */
-/* GAI error codes */
-# ifndef EAI_BADFLAGS
-# define EAI_BADFLAGS -1
-# endif
-# ifndef EAI_NONAME
-# define EAI_NONAME -2
-# endif
-# ifndef EAI_AGAIN
-# define EAI_AGAIN -3
-# endif
-# ifndef EAI_FAIL
-# define EAI_FAIL -4
-# endif
-# ifndef EAI_NODATA
-# define EAI_NODATA -5
-# endif
-# ifndef EAI_FAMILY
-# define EAI_FAMILY -6
-# endif
-# ifndef EAI_SOCKTYPE
-# define EAI_SOCKTYPE -7
-# endif
-# ifndef EAI_SERVICE
-# define EAI_SERVICE -8
-# endif
-# ifndef EAI_ADDRFAMILY
-# define EAI_ADDRFAMILY -9
-# endif
-# ifndef EAI_MEMORY
-# define EAI_MEMORY -10
-# endif
-#ifndef EAI_OVERFLOW
-# define EAI_OVERFLOW -11
-#endif
-# ifndef EAI_SYSTEM
-# define EAI_SYSTEM -12
-# endif
-
-
-# ifndef NI_MAXHOST
-# define NI_MAXHOST 1025
-# define NI_MAXSERV 32
-# endif
-# define NI_MAXNUMERICHOST 64
+#define NI_MAXNUMERICHOST 64
#ifndef AI_NUMERICSERV
# define AI_NUMERICSERV 0
More information about the vlc-commits
mailing list