[MPlayer-dev-eng] [PATCH] Avoid "_sleep deprecated" warning in cpuinfo.c
Zuxy Meng
zuxy.meng at gmail.com
Wed Nov 29 12:33:49 CET 2006
Hi,
2006/11/29, Reimar Döffinger <Reimar.Doeffinger at stud.uni-karlsruhe.de>:
> Hello,
> 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.
--
Zuxy
Beauty is truth,
While truth is beauty.
PGP KeyID: E8555ED6
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: cpuinfo.c.diff
URL: <http://lists.mplayerhq.hu/pipermail/mplayer-dev-eng/attachments/20061129/265b051f/attachment.asc>
More information about the MPlayer-dev-eng
mailing list