[Spice-devel] [PATCH] vdagent-win: Fix compile under MingW
Frediano Ziglio
fziglio at redhat.com
Thu Apr 30 04:45:52 PDT 2015
>
> On Thu, Apr 23, 2015 at 08:22:24AM -0400, Frediano Ziglio wrote:
> > Including directly shlobj.h in some MingW environment lead to some missing
> > definitions error. Including windows.h before fix the problem.
>
> This one should be fixed by
> https://admin.fedoraproject.org/updates/FEDORA-2015-6934/mingw-crt-4.0.2-1.fc22,mingw-headers-4.0.2-1.fc22,mingw-winpthreads-4.0.2-1.fc22,mingw-winstorecompat-4.0.2-1.fc22
> I'd tend to drop the patch, let me know if you think it really should go
> in :)
>
> Christophe
>
Hard to say. On one side the fix in MingW allow to include the header directly as Microsoft one does.
On the other side given that agent could be compiled with a lot of different environments (different Linux and versions) and usually these changes are not picked up very often probably many users would benefit from it.
The patch for instance is just on Fedora repositories, I think will take quite long to go on different Linuxes.
Frediano
More information about the Spice-devel
mailing list