Browse Source

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

Signed-off-by: Martin Storsjö <martin@martin.st>
tags/n0.11
Dave Yeo Martin Storsjö 13 years ago
parent
commit
3f9d6e4239
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      libavformat/os_support.h

+ 6
- 0
libavformat/os_support.h View File

@@ -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


Loading…
Cancel
Save