[vlc-devel] [PATCH 04/41] Define SHUT_RD, SHUT_WR and SHUT_RDWR for OS/2
KO Myung-Hun
komh at chollian.net
Mon Oct 10 13:43:43 CEST 2011
---
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
--
1.7.3.2
More information about the vlc-devel
mailing list