[vlc-commits] Define SHUT_RD, SHUT_WR and SHUT_RDWR for OS/2
KO Myung-Hun
git at videolan.org
Mon Oct 10 16:29:37 CEST 2011
vlc | branch: master | KO Myung-Hun <komh at chollian.net> | Mon Oct 10 20:43:43 2011 +0900| [f04b841f413fd1e2d696abe909787386aaa4efab] | committer: Rémi Denis-Courmont
Define SHUT_RD, SHUT_WR and SHUT_RDWR for OS/2
Signed-off-by: Rémi Denis-Courmont <remi at remlab.net>
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=f04b841f413fd1e2d696abe909787386aaa4efab
---
include/vlc_network.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/include/vlc_network.h b/include/vlc_network.h
index 96216f8..f145312 100644
--- a/include/vlc_network.h
+++ b/include/vlc_network.h
@@ -177,6 +177,11 @@ VLC_API int vlc_poll(struct pollfd *fds, unsigned nfds, int timeout);
# define SHUT_RDWR SD_BOTH
# define net_Close( fd ) closesocket ((SOCKET)fd)
#else
+# ifdef __OS2__
+# define SHUT_RD 0
+# define SHUT_WR 1
+# define SHUT_RDWR 2
+# endif
#ifdef HAVE_UNISTD_H
#include <unistd.h>
#endif
More information about the vlc-commits
mailing list