Module: libav
Branch: master
Commit: 3f9d6e423978f5e905def374e9c2e9166e3ebb2c

Author:    Dave Yeo <[email protected]>
Committer: Martin Storsjö <[email protected]>
Date:      Wed May 23 13:34:13 2012 -0700

os_support: Define SHUT_RD, SHUT_WR and SHUT_RDWR on OS/2

Signed-off-by: Martin Storsjö <[email protected]>

---

 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..3db20a9 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
+
 #if defined(_WIN32)
 #define SHUT_RD SD_RECEIVE
 #define SHUT_WR SD_SEND

_______________________________________________
libav-commits mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-commits

Reply via email to