From 3f9d6e423978f5e905def374e9c2e9166e3ebb2c Mon Sep 17 00:00:00 2001 From: Dave Yeo <dave.r.yeo@gmail.com> Date: Wed, 23 May 2012 13:34:13 -0700 Subject: [PATCH] os_support: Define SHUT_RD, SHUT_WR and SHUT_RDWR on OS/2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Martin Storsjö <martin@martin.st> --- libavformat/os_support.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libavformat/os_support.h b/libavformat/os_support.h index 1088c6c31c1..3db20a9aa88 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 -- GitLab