diff file.c @ 22:65433f1b2549 libavformat

os2 support patch by ("Slavik Gnatenko" <miracle9 at newmail dot ru>)
author michaelni
date Sat, 11 Jan 2003 20:34:38 +0000
parents 3442cae3ecf9
children e47e82c9baf2
line wrap: on
line diff
--- a/file.c	Sat Jan 11 05:33:35 2003 +0000
+++ b/file.c	Sat Jan 11 20:34:38 2003 +0000
@@ -42,7 +42,7 @@
     } else {
         access = O_RDONLY;
     }
-#ifdef CONFIG_WIN32
+#if defined(CONFIG_WIN32) || defined(CONFIG_OS2)
     access |= O_BINARY;
 #endif
     fd = open(filename, access, 0666);