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

Rich Felker dalias at aerifal.cx
Wed Nov 29 21:25:04 CET 2006


On Wed, Nov 29, 2006 at 07:42:24PM +0100, Reimar Döffinger wrote:
> Hello,
> On Wed, Nov 29, 2006 at 02:03:33PM -0500, Rich Felker wrote:
> > > > winbase.h lacks definitions for WINAPI, DWORD, etc.
> > > 
> > > Sorry for the noise then. Since this variant is similar to
> > > what osdep/timer-win2.c does, IMO it is okay to apply.
> > 
> > Why the hell would anyone need WINAPI, DWORD, etc.?? Just use the
> > proper names for these...
> 
> winbase.h needs them, so you can't use it directly.

typedef uint32_t DWORD;
#define WINAPI ...?
#include <winbase.h>

Rich




More information about the MPlayer-dev-eng mailing list