[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] Windows build broken

From: JonY
Subject: Re: [Qemu-devel] Windows build broken
Date: Thu, 13 Dec 2007 08:47:02 +0800
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv: Gecko/20071031 Thunderbird/ Mnenhy/

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

#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 :-)


Eduardo Felipe schrieb:
2007/12/12, C.W. Betts <address@hidden

    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.



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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]