Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
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
Commits
f04b841f
Commit
f04b841f
authored
Oct 10, 2011
by
KO Myung-Hun
Committed by
Rémi Denis-Courmont
Oct 10, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Define SHUT_RD, SHUT_WR and SHUT_RDWR for OS/2
Signed-off-by:
Rémi Denis-Courmont
<
remi@remlab.net
>
parent
4e0fd6c0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
include/vlc_network.h
include/vlc_network.h
+5
-0
No files found.
include/vlc_network.h
View file @
f04b841f
...
@@ -177,6 +177,11 @@ VLC_API int vlc_poll(struct pollfd *fds, unsigned nfds, int timeout);
...
@@ -177,6 +177,11 @@ VLC_API int vlc_poll(struct pollfd *fds, unsigned nfds, int timeout);
# define SHUT_RDWR SD_BOTH
# define SHUT_RDWR SD_BOTH
# define net_Close( fd ) closesocket ((SOCKET)fd)
# define net_Close( fd ) closesocket ((SOCKET)fd)
#else
#else
# ifdef __OS2__
# define SHUT_RD 0
# define SHUT_WR 1
# define SHUT_RDWR 2
# endif
#ifdef HAVE_UNISTD_H
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#include <unistd.h>
#endif
#endif
...
...
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