Re: [Spice-devel] [PATCHv2 win-agent 2/9] mingw: use standard main() entry function

2012-05-22 Thread Paolo Bonzini
Il 22/05/2012 14:50, Christophe Fergeau ha scritto: >> > >> > @@ -1226,9 +1230,9 @@ int _tmain(int argc, TCHAR* argv[], TCHAR* envp[]) >> > } >> > VDService* vdservice = VDService::get(); >> > if (argc > 1) { >> > -if (lstrcmpi(argv[1], TEXT("install")) == 0) { >> > +

Re: [Spice-devel] [PATCHv2 win-agent 2/9] mingw: use standard main() entry function

2012-05-22 Thread Christophe Fergeau
On Wed, May 16, 2012 at 08:15:26PM +0200, Marc-André Lureau wrote: > --- > vdagent/vdagent.cpp |4 > vdservice/vdservice.cpp |8 ++-- > 2 files changed, 10 insertions(+), 2 deletions(-) > > diff --git a/vdagent/vdagent.cpp b/vdagent/vdagent.cpp > index 5cbe222..2722741 100644

[Spice-devel] [PATCHv2 win-agent 2/9] mingw: use standard main() entry function

2012-05-16 Thread Marc-André Lureau
--- vdagent/vdagent.cpp |4 vdservice/vdservice.cpp |8 ++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/vdagent/vdagent.cpp b/vdagent/vdagent.cpp index 5cbe222..2722741 100644 --- a/vdagent/vdagent.cpp +++ b/vdagent/vdagent.cpp @@ -1355,7 +1355,11 @@ LRESU