Commit 2f763769 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Fixups

parent 7a89a604
...@@ -221,8 +221,11 @@ int poll (struct pollfd *fds, unsigned nfds, int timeout); ...@@ -221,8 +221,11 @@ int poll (struct pollfd *fds, unsigned nfds, int timeout);
# ifndef EAI_MEMORY # ifndef EAI_MEMORY
# define EAI_MEMORY -10 # define EAI_MEMORY -10
# endif # endif
#ifndef EAI_OVERFLOW
# define EAI_OVERFLOW -11
#endif
# ifndef EAI_SYSTEM # ifndef EAI_SYSTEM
# define EAI_SYSTEM -11 # define EAI_SYSTEM -12
# endif # endif
......
...@@ -53,9 +53,6 @@ ...@@ -53,9 +53,6 @@
#ifndef AF_UNSPEC #ifndef AF_UNSPEC
# define AF_UNSPEC 0 # define AF_UNSPEC 0
#endif #endif
#ifndef EAI_OVERFLOW
# define EAI_OVERFLOW -12 /* Argument buffer overflow. */
#endif
#define _NI_MASK (NI_NUMERICHOST|NI_NUMERICSERV|NI_NOFQDN|NI_NAMEREQD|\ #define _NI_MASK (NI_NUMERICHOST|NI_NUMERICSERV|NI_NOFQDN|NI_NAMEREQD|\
NI_DGRAM) NI_DGRAM)
...@@ -100,7 +97,6 @@ const char *vlc_gai_strerror( int errnum ) ...@@ -100,7 +97,6 @@ const char *vlc_gai_strerror( int errnum )
return __gai_unknownerr; return __gai_unknownerr;
} }
# undef _EAI_POSITIVE_MAX
#else /* ifndef HAVE_GAI_STRERROR */ #else /* ifndef HAVE_GAI_STRERROR */
const char *vlc_gai_strerror( int errnum ) const char *vlc_gai_strerror( int errnum )
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment