[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Qemu-trivial] [PATCH for 1.7] qga: Fix compilation for old versions
From: |
Michael Tokarev |
Subject: |
Re: [Qemu-trivial] [PATCH for 1.7] qga: Fix compilation for old versions of MinGW |
Date: |
Wed, 13 Nov 2013 15:53:35 +0400 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130922 Icedove/17.0.9 |
10.11.2013 21:49, Stefan Weil wrote:
> While MinGW-w64 can compile the qga code, MinGW from Ubuntu lenny
> (gcc-mingw32 4.4.2-3) shows these errors:
I guess you mean Debian lenny, not Ubuntu lenny here ;) And lenny
is an "old-old-stable" Debian release - it was before squeeze which
is now oldstable. Lenny has been released at 14 Feb 2009...
> In file included from qga/vss-win32.c:17:
> qga/vss-win32/requester.h:31:
> error: expected »=«, »,«, »;«, »asm« or »__attribute__« before
> »requester_init«
> qga/vss-win32/requester.h:32:
> error: expected »=«, »,«, »;«, »asm« or »__attribute__« before
> »requester_deinit«
>
> The macro STDAPI is unknown, so add the missing include file which
> defines it.
>
> Signed-off-by: Stefan Weil <address@hidden>
> ---
>
> This patch also fixes the same error on the MinGW buildbot.
> I did not notice it earlier because I usually compile with MinGW-w64.
>
> Regards,
> Stefan
>
> qga/vss-win32/requester.h | 1 +
> 1 file changed, 1 insertion(+)
Thanks, applied to the trivial-patches queue, with s/Ubuntu/Debian/ - hopefully
this is okay :)
/mjt