[FFmpeg-devel] setmode(fd, flag)
Fri Jan 9 04:58:32 CET 2009
On Wed, Jan 7, 2009 at 3:39 AM, Dave Yeo <daveryeo at telus.net> wrote:
> On 01/06/09 08:43 pm, Ramiro Polla wrote:
>>> I searched for setmode()'s origin, but couldn't find anything saying
>>> it was specific to Microsoft. I couldn't find much information about
>>> it either. MSDN says it's POSIX, although it most certainly isn't (and
>>> I didn't find a way to report it).
>>> If noone comes with a better suggestion in a few days, I propose
>> Patch attached.
> Should not file.c also have
> #include "avformat.h"
> #include <fcntl.h>
> +ifdef HAVE_DOS_SETMODE
> +include <io.h>
> #include <unistd.h>
> #include <sys/time.h>
> All systems that support DOS setmode also have it prototyped in io.h
Good catch. New patch attached.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1008 bytes
Desc: not available
More information about the ffmpeg-devel