On 05/22/12 10:12 pm, Luca Barbato wrote:
On 23/05/12 13:34, Dave Yeo wrote:
---
libavformat/os_support.h | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
diff --git a/libavformat/os_support.h b/libavformat/os_support.h
index 1088c6c..223203a 100644
--- a/libavformat/os_support.h
+++ b/libavformat/os_support.h
@@ -45,6 +45,12 @@ static inline int is_dos_path(const char *path)
return 0;
}
+#if defined(__OS2__)
+#define SHUT_RD 0
+#define SHUT_WR 1
+#define SHUT_RDWR 2
+#endif
+
Seems ok, aren't there any os-specific variables for that?
Doesn't seem to be, see
http://www.warpspeed.com.au/cgi-bin/inf2html.cmd?..\html\book\Toolkt40\TCPPR.INF+165
sys/socket.h just has
int TCPCALL shutdown (int, int);
Dave
_______________________________________________
libav-devel mailing list
libav-devel@libav.org
https://lists.libav.org/mailman/listinfo/libav-devel