Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc-2-2
Commits
2f763769
Commit
2f763769
authored
Mar 03, 2007
by
Rémi Denis-Courmont
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixups
parent
7a89a604
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
include/vlc_network.h
include/vlc_network.h
+4
-1
src/network/getaddrinfo.c
src/network/getaddrinfo.c
+0
-4
No files found.
include/vlc_network.h
View file @
2f763769
...
@@ -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 -1
1
# define EAI_SYSTEM -1
2
# endif
# endif
...
...
src/network/getaddrinfo.c
View file @
2f763769
...
@@ -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
)
{
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment