[FFmpeg-devel] setmode(fd, flag)
Tue Dec 16 18:48:12 CET 2008
Fran?ois Revol wrote:
>> Yes. But it is defined in BeOS (IIRC) and setmode does something
>> completely different. So the code, as is, is not good.
> BSD has its own setmode(), see
> It's been discussed already several times here.
>> It seems (from msdn ) that _setmode is preferred.
> Then check for it in configure...
> but make sure it doesn't colide with a weak symbol fallback
Since a variety of setmode() functions seem to exist on different
systems, I suggest manually enabling its use in the OS-specific part
of configure on the relevant systems.
We can easily check whether a function exists but not what it does.
mans at mansr.com
More information about the ffmpeg-devel