Stefan Weil wrote:
basetyps.h is included by windows.h / rpc.h. QEMU does not need it, so
you can avoid it like this:

#define WIN32_LEAN_AND_MEAN
#include <windows.h>

WIN32_LEAN_AND_MEAN reduces the number of includes in windows.h
and increases compilation speed. And you don't have to rename
variables like interface :-)

Regards,
Stefan

Eduardo Felipe schrieb:
2007/12/12, C.W. Betts <[EMAIL PROTECTED]
<mailto:[EMAIL PROTECTED]>>:

    Could you perhaps give a patch?  I don't feel like going through
    and changing every instance of BlockInterfaceType to something else.


Having a closer look I think the underlying problem is a name conflict
with a #define in Mingw's header file basetyps.h, so renaming
variables looks right to me. Patch attached.

Regards,



Hi,

I would prefer Eduardo's patch, defining WIN32_LEAN_AND_MEAN breaks dsound.

Thanks.


Reply via email to