[FFmpeg-devel] libossupport status
Rich Felker
dalias
Thu Dec 27 17:47:03 CET 2007
On Thu, Dec 27, 2007 at 11:52:36AM +0100, Luca Abeni wrote:
> Example: usleep(). It is supposed to be defined in unistd.h, but mingw
> provides a version of unistd.h in which usleep() is not defined... I
> cannot provide a unistd.h in libossupport, because in this way I would
> prevent the inclusion of mingw's unistd.h (ok, a possible solution would
> be to use #include_next, but that's non-standard).
Windows is already nonstandard. There's a major problem with using
#include_next in code purporting to be portable, but this is
workaround code for a specific broken system.. Anyway, prototyping
usleep is useless. It will work fine without a prototype.
Rich
More information about the ffmpeg-devel
mailing list