[FFmpeg-devel] libossupport status
Thu Dec 27 18:21:12 CET 2007
On Thu, Dec 27, 2007 at 11:47:03AM -0500, Rich Felker wrote:
> 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.
prototype unneeded, problem solved :)
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
In a rich man's house there is no place to spit but his face.
-- Diogenes of Sinope
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 189 bytes
Desc: Digital signature
More information about the ffmpeg-devel