[MPlayer-dev-eng] [PATCH] Avoid "_sleep deprecated" warning in cpuinfo.c

Reimar Döffinger Reimar.Doeffinger at stud.uni-karlsruhe.de
Sun Dec 10 15:05:11 CET 2006


Hello,
On Wed, Nov 29, 2006 at 07:33:49PM +0800, Zuxy Meng wrote:
> 2006/11/29, Reimar Döffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de>:
> >On Wed, Nov 29, 2006 at 10:40:46AM +0800, Zuxy Meng wrote:
> >>  #endif
> >>  #ifdef __MINGW32__
> >>  #define MISSING_USLEEP
> >> -#define sleep(t) _sleep(1000*t);
> >> +void __stdcall Sleep(unsigned);
> >> +#define sleep(t) Sleep(1000*t);
> >
> >Find the correct header for this.
> 
> OK.

Since like this it is consistent with osdep code, applied.

Greetings,
Reimar Döffinger



More information about the MPlayer-dev-eng mailing list