diff options
Diffstat (limited to 'libavformat/file.c')
-rw-r--r-- | libavformat/file.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/file.c b/libavformat/file.c index 7390962..a84823a 100644 --- a/libavformat/file.c +++ b/libavformat/file.c @@ -42,7 +42,7 @@ static int file_open(URLContext *h, const char *filename, int flags) } else { access = O_RDONLY; } -#ifdef CONFIG_WIN32 +#if defined(CONFIG_WIN32) || defined(CONFIG_OS2) access |= O_BINARY; #endif fd = open(filename, access, 0666); |