Commit f04b841f authored by KO Myung-Hun's avatar KO Myung-Hun Committed by Rémi Denis-Courmont

Define SHUT_RD, SHUT_WR and SHUT_RDWR for OS/2

Signed-off-by: default avatarRémi Denis-Courmont <remi@remlab.net>
parent 4e0fd6c0
......@@ -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
......
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