[MPlayer-dev-eng] [PATCH] "We use usec_sleep in MPlayer"

Robert Swain robert.swain at gmail.com
Sat Sep 3 05:14:35 CEST 2005


Hello all,

After a reinstall of Windows... *waits for the laughter to die down*
...I set up MinGW again as I thought I had before but upon compiling
MPlayer I came across some undefined references to the sleep function.
I guessed the definition normally resides in a system header but is
not defined in those that come with MinGW. I mentioned this on IRC and
was informed that 'we use usec_sleep in MPlayer' and that they should
be replaced so here's a patch for the three instances I found. I don't
know if, as a consequence of the function swap, there are some no
longer required includes but I don't want to break anything so I'll
leave that as is.

Regards,
Robert Swain (superdump)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mplayer.usec_sleep.0.diff
Type: application/octet-stream
Size: 1671 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20050903/8b6b8e50/attachment.obj>


More information about the MPlayer-dev-eng mailing list